How to show the geoshow figure in UIaxes?

2 views (last 30 days)
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])

Accepted Answer

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

Sign in to comment.

More Answers (1)

Walter Roberson
Walter Roberson on 18 May 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!