- 积分
- 164
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2021-3-10
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
想问下大佬们为什么这样设置画出的图坐标轴还是不变呢
下面是脚本
time1 = ispan(1, 12, 1)
o4!0="time"
o4&time=time1
wks = gsn_open_wks ("png","xy4") ; send graphics to PNG file
res = True ; plot mods desired
res@tiXAxisString="month"
res@pmTickMarkDisplayMode="Always"
res@gsnMaximize = True
res@xyLineThicknesses=3.0
res@xyMarkLineMode = "MarkLines"
res@xyMarkers = 16 ; 3 different markers
res@xyMarkerColors = "blue"
res@tmXTMode = "Explicit" ; label independently
res@tmXTValues = (/1,3,5,7,9,11/)
res@tmXTLabels = (/"1","3","5","7","9","11"/)
res@tmLabelAutoStride = True ; nice stride on labels
plot = gsn_csm_xy (wks,time1,o4,res) ; create plot
end
|
|