Effacer les filtres
Effacer les filtres

Question on Matlab m_map with interrupted mollweide projection

6 vues (au cours des 30 derniers jours)
Leon
Leon le 26 Mar 2019
Modifié(e) : Leon le 26 Mar 2019
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' );

Réponses (0)

Catégories

En savoir plus sur Energy Production dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by