How to fix color global map overlap with frame?

1 次查看(过去 30 天)
Hi I want to create a global map with colored filled.
But I find out the map always overlap with the frame,
I have tried uistack but it doesn't work, how can I fix this problem?
thank you!!!
This is my code
h=axesm ('stereo','Grid', 'off','MapLatLimit',[ys 90],'Origin',[90 120 0],'Frame','on','FLineWidth',2,...
'MeridianLabel','off','MLabelParallel','south','LabelRotation','off');
axis off
coast = load('coast.mat');
h1=geoshow(coast.lat, coast.long, 'DisplayType','polygon','EdgeColor',[0.7,0.7,0.7],'FaceColor',[0.7,0.7,0.7]);
This is map figure I draw

回答(1 个)

Amy Haskins
Amy Haskins 2016-6-6
Trying to send the polygons to the back with UISTACK didn't seem to work well, but bringing the frame to the front looks like a good workaround.
h2 = framem('on');
uistack(h2,'top')

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by