爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5889|回复: 0

[作图] res@vcMonoVectorLineColor无效?

[复制链接]
发表于 2016-12-22 10:53:19 | 显示全部楼层 |阅读模式

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

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

x
请问大家,我在用ncl画矢量图时,用到res@vcMonoVectorLineColor,可是ncl提示warning:vcMonoVectorLineColor is not a valid resource in uv1_vector at this time,为什么是无效的呢?和版本有关吗,我是6.0.0的,以下是脚本,大家帮忙看看
load"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
load"$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
begin
f=addfile("c:/uwnd.1991.nc","r")
h=addfile("c:/vwnd.1991.nc","r")
uwnd=f->uwnd(0,5,:,:)
vwnd=h->vwnd(0,5,:,:)
speed=sqrt(uwnd^2+vwnd^2)
wks=gsn_open_wks("png","uv1")
gsn_define_colormap(wks,"rainbow")
res=True
res@gsnDraw=False
res@gsnFrame=False
res@gsnMaximize=True
res@gsnLeftString="uv"
res@gsnRightString="m/s"
res@gsnAddCyclic=True
res@vcRefMagnitudeF=20
res@vcRefLengthF=0.09
res@vcGlyphStyle="CurlyVector"
res@vcMonoVectorLineColor=False
res@gsnSpreadColors=True
res@gsnSpreadColorStart=30
plot=gsn_csm_vector(wks,uwnd(::4,::4),vwnd(::4,::4),res)
end

密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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