- 积分
- 787
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-4-24
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
作的一个boxplot,代码片段如下:
res@tmXBMode = "Manual"
res@trXMinF=-6
res@tmXBTickStartF = 0
res@tmXBTickSpacingF=24
plot=boxplot(wks,xtime,plotdata,opti,res,llres)
由于x轴用预报时效,不方便使用,想将其转换为日期,
代码片段设置为:
res@tmXBMode = "Explicit"
res@tmXBValues = xtime(0:40:4)
res@tmXBLabels =xtimelabel(0:40:4)
res@tmXBMinorValues=xtime
xtime(0:40:4)就是(/0,24,48,72,96,120,144,168,192,216,240/)
xtimelabel是xtime转换的日期数组。
运行时提示
boxplot: Fatal:Number of XB Labels does not match number of boxes, exiting
请画过同类图的大虾帮忙。
|
|