changing map projection after plotting data
이전 댓글 표시
I can initialize a map, set its projection properties with axesm, and plot data. This works well. If I plot data then try to change the map projection by setting axesm, my map does not update to the new projection. Typing getm(gca) shows that indeed, Matlab thinks my map is in the new projection, but my figure does not show it. Is there a trick to changing projection after data are plotted?
답변 (1개)
Kelly Kearney
2014년 9월 4일
0 개 추천
I've found it's really a coin toss... sometimes, changing properties like projection, map limits, etc. actually reprojects the existing plotting data correctly, and sometimes it doesn't. I've never figured out a pattern to why it sometimes works and sometimes doesn't. Except that of course toy examples usually work, and figures using real data from my research usually don't.
카테고리
도움말 센터 및 File Exchange에서 Mapping Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!