plot
Plot detected anomalies and anomaly scores generated from trained machine learning anomaly detectors
Since R2026a
Description
Add-On Required: This feature requires the Time Series Anomaly Detection for MATLAB add-on.
plot( plots
the anomaly detection data in detector,data)data that result from executing detect with
the machine-learning anomaly detection model detector.
plot plots two figures—one for the anomalies and the other for the
anomaly score.
For an example of using plot as part of the detector development
workflow, see Train and Test TCN Anomaly Detector.
plot(___,sets
additional options using one or more name-value arguments.Name=Value)
Input Arguments
Name-Value Arguments
Version History
Introduced in R2026a