How to fix color global map overlap with frame?

1 view (last 30 days)
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

Answers (1)

Amy Haskins
Amy Haskins on 6 Jun 2016
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')

Products

Community Treasure Hunt

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

Start Hunting!