Question on Matlab m_map with interrupted mollweide projection
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to plot a global distribution map using the interrupted mollweide projection of M_map.
Anyone knows why I only get the plot on North Pacific? Below is my code and you can find a picture of my plot in this link: https://www.amazon.com/clouddrive/share/nPxPuuJDjZwpxV1pQcrswCMiBmIPcpkVHvmAbknl1tL
Many thanks!
% In order to see all the maps we must undo the axis limits set by m_grid calls:
set(gca,'xlimmode','auto','ylimmode','auto');
Slongs=[-100 43;-75 20; 20 145;43 100;145 295;100 295];
Slats= [ 0 90;-90 0;-90 0; 0 90;-90 0; 0 90];
for l=1:6,
m_proj('mollweide','long',Slongs(l,:),'lat',Slats(l,:));
m_grid('fontsize',6,'xticklabels',[],'xtick',[-180:30:360],...
'ytick',[-80:20:80],'yticklabels',[],'linest','-','color','k');
m_coast('patch',[.6 .6 .6]);
end;
hold on;
[C1, h1] = m_contourf (X, Y, Z, [0:0.005:8], 'LineStyle', 'none' );
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!