필터 지우기
필터 지우기

Question on Matlab m_map with interrupted mollweide projection

조회 수: 6 (최근 30일)
Leon
Leon 2019년 3월 26일
편집: Leon 2019년 3월 26일
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개)

카테고리

Help CenterFile Exchange에서 Energy Production에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by