1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| mois=str2num(datestr(DATEVRAC,5));
id=find(month==1);
lon=LONGITUDE(id); %LONGITUDE est un vecteur
lat=LATITUDE(id); %LATITUDE est un vecteur
Z=PROF(id); %PROF est un vecteur
warning off
m_proj('stereographic','latitude',-90,'long',-30,'radius',55,'rotangle',25);
[X,Y]=m_ll2xy(lon,lat);
m_coast('patch',[0.3 0.3 0.3],'edgecolor',[0.3 0.3 0.3]);
m_grid('box','fancy','tickdir','out','xtick',7, 'yticklabel',[ ],'linestyle','none','fontsize',16,'XaxisLocation','top');
hold on
gx=min(lon):max(lon);
gy=min(lat):max(lat);
[xm,ym]=meshgrid(gx,gy);
ZI=griddata(lon,lat,Z,xm,ym);
m_pcolor(gx,gy,ZI);
shading interp
c=colorbar;load colormapbicolor; colormap(colormapbicolor);
set(c,'Position',[0.9 0.2583 0.0446 0.4167]); |
Partager