How to show the geoshow figure in UIaxes?

5 Ansichten (letzte 30 Tage)
apple
apple am 18 Mai 2017
Kommentiert: Walter Roberson am 18 Mai 2017
I create one uiaxes to show the landareas.shp via geoshow function,but I got two figure,the geoshow get one figure, now show in the uiaxes, how can I realize it?
dd = uiaxes; geoshow('landareas.shp','FaceColor',[0.5 1.0 0.5])

Akzeptierte Antwort

apple
apple am 18 Mai 2017
Thank you sir,i got it.
  1 Kommentar
Walter Roberson
Walter Roberson am 18 Mai 2017
What was your solution? The approach you used might be of benefit to other people.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 18 Mai 2017
geoshow is not supported for uiaxes.
geoshow creates patch objects. Patch objects cannot be placed on uiaxes.
You could render the content of the axes to an image and then show the image on the uiaxes.

Community Treasure Hunt

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

Start Hunting!