爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3273|回复: 1

[程序设计] 底图加不上等值线图

[复制链接]

新浪微博达人勋

发表于 2017-7-2 09:39:45 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
clear;
predata=ncread('1991pre.nc','tp',[1 1 1],[360 181 306],[1 1 1]);
b=(sum(predata,3))*1000;
figure;
ax = worldmap('World');
setm(ax,'Origin', [0 180 0])
load coast;
plot(long,lat,'-k','LineWidth', 1.8);
plotm(lat,long);
framem on; gridm on; plabel off; mlabel off; axis off tight;
E=contour(flipud(b'));hold on;
colorbar('position',[0.92 0.12 0.02 0.8]);
hold on;
     为什么contourf(flipud(b'));加不上等值线,b是360*181的二维数组,这个需要怎么该,请大家帮我看看。
untitled.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 成长值: 32430
发表于 2017-7-2 17:35:01 | 显示全部楼层
contourm
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表