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 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by