Question on Matlab m_map with interrupted mollweide projection

2 views (last 30 days)
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' );

Answers (0)

Categories

Find more on Energy Production in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!