Mapping toolbox move labels off frame

4 次查看(过去 30 天)
I am trying to create a map of Antarctica, but my degree labels are on the frame, making them annoying to read. Is there a way to move the labels off of the frame without moving every individual one after the map is generated?
load coastlines
figure('Color','w')%Colors the figure white.
axesm('stereo','Origin',[-90 0],'MapLatLimit',[-90 -55])
axis off;
framem on;
framem('FEdgeColor',[.2 .2 .2],'FLineWidth',[.5])
gridm on;
gridm('plinelocation',10);
mlabel on;
plabel on;
setm(gca, 'MlabelLocation', 30, 'PlabelLocation',10,'MlabelParallel', 'north')
geoshow(coastlat,coastlon,'DisplayType','polygon', 'FaceColor', 'white')
This is what I would like to do.
Capture17.JPG
  3 个评论
Cg Gc
Cg Gc 2019-2-12
Thank you. This helps. I am glad that they rotated the labels too. Now if only, the toolbox would move them a little more off the line when the figure pops up that would be great. They move when the figure is enlarged, but not before.
Chad Greene
Chad Greene 2019-2-15
Careful with that particular "coastline" of Antarctica though. Note that arond the Ross ice shelf it's a grounding line, whereas on the Filchner-Ronne it's the ice edge. Better off using antbounds from the Antarctic Mapping Toolbox for Matlab.

请先登录,再进行评论。

回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by