- 积分
- 719
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-6-13
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
请教大家一个问题,请问gsn_csm_time_lat和gsn_csm_lat_time函数有什么区别呢?;plot = gsn_csm_time_lat(wks, var1, res )
plot = gsn_csm_lat_time(wks, var1, res )
为什么同样的二维变量,用gsn_csm_time_lat画就没问题,gsn_csm_lat_time就不行呢?请问哪位达人能帮解答一下,谢谢!
附主要代码和错误提示
hgt = short2flt(fi->gh)
v=dim_avg_n_Wrap(hgt,1)
var=v(7:26,4,{15:45},{110:130}) ; precip in June1-20
var1=dim_sum_n_Wrap(var,2)
wks = gsn_open_wks ("png", "time_lat" ) ; send graphics to PNG file
res = True ; plot mods desired
res@tiMainString = "color example" ; title
res@tmXBLabelStride = 2 ; tick mark label stride
res@tiYAxisString = "time" ; y axis title
res@cnFillOn = True ; color on
res@lbLabelStride = 2 ; every other label
res@lbOrientation = "Vertical" ; vertical label bar
res@cnLinesOn = False ; turn off contour lines
res@cnFillPalette = "ViBlGrWhYeOrRe" ; set color map
;plot = gsn_csm_time_lat(wks, var1, res )
plot = gsn_csm_lat_time(wks, var1, res )
错误提示:
(0) |
|