Clearing plotCoverageArea plot in each loop while keeping a previous birdsEyePlot in the figure
Ältere Kommentare anzeigen
I have code in which birdsEyePlot is supposed to be the boundary/background for my sensor plot.
I have incoming continuous ( while loop) sensor data which is plotted with plotCoverageArea.
When I use cla, it clears both birdsEyePlot and plotCoverageArea. When I don't use it, the plotCoverageArea overlaps the others and I cannot see data properly.
How can I keep birdsEyePlot in the figure window intact as background, while plotCoverageArea plot to be cleared and plotted again (or updated) in each loop.
The file is attached, I hope someone has answer.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Programmatic Scenario Authoring finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!