- 积分
- 18
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2017-4-18
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2017-4-18 21:04:25
|
显示全部楼层
color_list = [0.1 0.5,1,1.5,2.2,3,3.5,5,6.5,9.5];
m_proj('Robinson','lon',[0 358.5],'lat',[-90 90]);
step=5;
scale=0.015;
m_quiver(Lon(1:step:end,1:step:end),Lat(1:step:end,1:step:end),dosave_spr_u(1:step:end,1:step:end)*scale,dosave_spr_v(1:step:end,1:step:end)*scale,0,'-k','linewidth',0.8);
hold on;
[h_color,h_handle] = m_contourf(Lon,Lat,shsave_aut,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',11,'ytick',-90:20:90,'yticklabels',-90:20:90,'Fontsize',11,'tickdir','in','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.003 0]);
h22=xlabel('Longitude','color','k','FontName','Times New Roman','FontSize',16);
set(h22,'position',get(h22,'position')-[0 0.0003 0]);
title('1958-2001年秋季平均涌浪有效波高及波向','fontsize',12,'fontweight','bold','position',[0.1 -0.6]);
grid on;
print(gcf,'-dpng','G:\季节平均图\1958-2001 autumn dos&shs_ave.png');
hold off;
这是我的程序,大家帮我看一下 |
|