Move mlabel positions off axis
이전 댓글 표시
I have this really nice map, but I need to change two things. 1. The longitude labels are on the axis. Does anyone know how to move the labels off of the axis? 2. The latitude labels are fine, except they are not uniform. How can I change the 75 to an 80?
Here is my code.
load coastlines
figure('Color','w')%Colors the figure white.
axesm('stereo','Origin',[-90 0],'MapLatLimit',[-90 -50]);
axis off;
framem on;
gridm on;
mlabel on;
plabel on;
setm(gca,'MLabelParallel',10)
geoshow(coastlat,coastlon,'DisplayType','polygon', 'FaceColor', 'white');
I tried this to get the latitude limits, but nothing changed.
axesm('stereo','Origin',[-90 0],'MapLatLimit',[-90 -50],'FLatLimit',[-90 -60]);
I then tried this, but the 75 was still there, and 45 degrees showed up. It also made Antarctica look too small. So, I tried 60 degrees as my limit, but 75 was still there.
axesm('stereo','Origin',[-90 0],'MapLatLimit',[-90 -40]);
axesm('stereo','Origin',[-90 0],'MapLatLimit',[-90 -60]);
I figured out how to move the labels manually in figure properties, but there must be a way to move things around within the code.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Map Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
