MATLAB 帮助中心
Clear plotter data from theater plot
clearPlotterData(tp)
clearPlotterData(tp) clears data shown in the plot from all the plotters used in the theater plot, tp. Legend entries and coverage areas are not cleared from the plot.
tp
example
collapse all
Create a theater plot and a detection plotter.
tp = theaterPlot('XLim',[0, 90],'YLim',[-35, 35],'ZLim',[0, 10]); detectionPlotter(tp,'DisplayName','Radar Detections');
Use findPlotter to locate the plotter by its display name.
findPlotter
radarPlotter = findPlotter(tp,'DisplayName','Radar Detections');
Plot three detections.
plotDetection(radarPlotter, [30, 5, 1; 30, -10, 2; 30, 15, 1]);
Clear data from the plot.
clearPlotterData(tp);
theaterPlot
Theater plot, specified as a theaterPlot object.
Introduced in R2018b
theaterPlot | findPlotter | clearData
clearData
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处