My geoplot axes keep plotting on top of each other. How do I clear them before plotting again?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mario Chiappelli
el 31 de Mayo de 2019
Respondida: Michael Bagge-Hansen
el 29 de Abr. de 2022
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/222247/image.png)
1 comentario
hanif hamden
el 23 de Sept. de 2021
Is there any solution on this? I also have the same problem with Mr Mario.
Respuestas (1)
Michael Bagge-Hansen
el 29 de Abr. de 2022
use the app properties:
properties (Access = private)
map
then when you create the map:
delete(app.map);
app.map = geoaxes(app.MapPanel);
0 comentarios
Ver también
Categorías
Más información sobre Geographic Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!