- 积分
- 18
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-4-18
- 最后登录
- 1970-1-1

|

楼主 |
发表于 2017-4-25 06:48:09
|
显示全部楼层
igure;
color_list = [0.1 0.5,1,1.5,1.8,2,2.5,3,3.5];
m_proj('Robinson','lon',[0 358.5],'lat',[-90 90]);
step=5;
scale=3;
m_quiver(Lon(1:step:end,1:step:end),Lat(1:step:end,1:step:end),shwave_spr_u(1:step:end,1:step:end)*scale,shwave_spr_v(1:step:end,1:step:end)*scale,0,'-k','linewidth',0.8);
hold on;
[h_color,h_handle] = m_contourf(Lon,Lat,shwave_spr,color_list);
set(h_handle,'LineWidth',1);
colorbar('fontsize',12,'fontweight','bold');
colormap('default'); %默认的设置是 JET
m_grid('box','on','xtick',0:30:358.5,'xticklabels',0:30:358.5,'Fontsize',6,'ytick',-90:20:90,'yticklabels',-90:20:90,'Fontsize',11,'tickdir','out','XaxisLocation','bottom','YaxisLocation','left');
m_gshhs_f('patch',[.7 .7 .7]);
hl1=ylabel('Latitude','color','k','FontName','Times New Roman','FontSize',16);
set(hl1,'position',get(hl1,'position')-[0 0.005 0]);
h22=xlabel('Longitude','color','k','FontName','Times New Roman','FontSize',16);
set(h22,'position',get(h22,'position')-[0 0.0005 0]);
grid on; |
|