Map plot overlaying frame

1 view (last 30 days)
Sally Wood
Sally Wood on 21 Nov 2017
Hi, I am plotting a map, but the plot overlays the frame:
I have tried setting the 'Layer' property to both 'top' and 'bottom', but it does nothing. Any other ideas? I guess alternatively I could move the position of the plot within the frame to be more central, but I don't know how to do this.
The code I am using to set up my map is:
fob = figure;
%mollweid eqacylin behrmann robinson
h=axesm('MapProjection','behrmann','MapLatLimit',latlim,'MapLonLimit',lonlim,'Frame','on','FLineWidth',6,'Grid','off','MLineLocation',2,'meridianlabel','on','PLineLocation',2,'parallellabel','on','fontsize',26);
set(gcf,'PaperOrientation','portrait','Color','w','Position',get(0,'Screensize'),'PaperPositionMode','auto','Renderer','painters')
set(gca,'box','off','Visible','off','Layer','top');
Any advice would be gratefully received. Sally

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!