Main Content


Clear data from specific plotter of bird’s-eye plot



clearData(pl) clears data belonging to the plotter pl associated with a bird’s-eye plot. This function can clear data from these plotters:

To clear data from all plotters belonging to a bird's-eye plot, use the clearPlotterData function.


collapse all

Create a bird's-eye plot. Add a track plotter and detection plotter to the bird's-eye plot.

bep = birdsEyePlot('XLim',[0,90],'YLim',[-35,35]);
tPlotter = trackPlotter(bep,'DisplayName','Tracks');
detPlotter = detectionPlotter(bep,'DisplayName','Radar detections');

Create and display a set of tracks on the bird's-eye plot.

trackPos = [30 15 1; 60 -15 1; 20 5 1];
trackLabels = {'T1','T2','T3'};

Create and display a set of detections on the bird's-eye plot.

detPos = [30 5 4; 30 -10 2; 50 15 1];
detLabels = {'D1','D2','D3'};

Clear the track plotter data from the bird's-eye plot.


Input Arguments

collapse all

Plotter belonging to a birdsEyePlot object, specified as a plotter object. You can clear data from any plotter except coverageAreaPlotter.

Version History

Introduced in R2017a