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 件のコメント
hanif hamden
hanif hamden 2021 年 9 月 23 日
Is there any solution on this? I also have the same problem with Mr Mario.

サインインしてコメントする。

回答 (1 件)

Michael Bagge-Hansen
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);

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by