My geoplot axes keep plotting on top of each other. How do I clear them before plotting again?
7 次查看(过去 30 天)
显示 更早的评论
Here is a picture of the GUI I am working on. As you can see after a few iterations the axes keep printing on top of the previous axes. What is the command I should use to replace the old geoplot. I saw in the Matlab documentation there is something called 'replace' with the NextPlot and NewPlot functions. But I don't understand how to use them. Thank you.
1 个评论
回答(1 个)
Michael Bagge-Hansen
2022-4-29
use the app properties:
properties (Access = private)
map
then when you create the map:
delete(app.map);
app.map = geoaxes(app.MapPanel);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Object Identification 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!