Plot objects, detections, and tracks in trackingScenario
The theaterPlot
object is used to display a
plot of a trackingScenario
. This type of plot can be used with sensors capable of
detecting objects.
To display aspects of a driving scenario on a bird’s-eye plot:
Create a theaterPlot
object.
Create plotters for the aspects of the tracking scenario that you want to plot.
Use the plotters with their corresponding plot functions to display those aspects on the theater plot.
This table shows the plotter functions to use based on the tracking scenario aspect that you want to plot.
Tracking Scenario Aspect to Plot | Plotter Creation Function | Plotter Display Function |
---|---|---|
Sensor coverage areas | coveragePlotter | plotCoverage |
Sensor detections | detectionPlotter | plotDetection |
Object orientation | orientationPlotter | plotOrientation |
Platform | platformPlotter | plotPlatform |
Track | trackPlotter | plotTrack |
Object trajectory | trajectoryPlotter | plotTrajectory |
creates a
theater plot in a new figure.tp
= theaterPlot
creates a theater plot in a new figure with optional input Properties
specified by one or more tp
= theaterPlot(Name,Value)Name,Value
pair arguments.
Properties can be specified in any order as
Name1,Value1,...,NameN,ValueN
. Enclose each property
name in quotes.
You cannot use the rectangle-zoom feature in the theaterPlot
figure.