Mapping toolbox move labels off frame

조회 수: 1 (최근 30일)
Cg Gc
Cg Gc 2019년 2월 12일
댓글: Chad Greene 2019년 2월 15일
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에서 Glaciology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by