plotting data with m_map Interrupted Mollweide Projection

조회 수: 13 (최근 30일)
Chris ODonnell
Chris ODonnell 2012년 6월 26일
Hi, I want to plot some global data using an Interrupted Mollweide Projection (M-Map)
I can produce a nice example from the helpfiles......
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;
xlabel('Interrupted Mollweide Projection of World Oceans');
set(gca,'xlimmode','auto','ylimmode','auto');
... but I dont know how to plot data on this projection, for example:
lats= -89:90;
longs= -180:179;
q=randi(10,180,360);
How do I get the data (q) to display on this projection??
Thanks in advance...

답변 (0개)

카테고리

Help CenterFile Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by