- 积分
- 30302
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2019-5-13
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
begin
data = fbindirread("/home/ramsey/Documents/r/rr.grd", 0, (/12/), "float")
;-----设定坐标信息------
month = ispan(1,12,1)
month!0 ="mon"
month@long_name = "Month"
data!0 = "mon"
data&mon = month
wks = gsn_open_wks("png","xy1")
;-----resources ---
res = True
res@gsnMaximize =True
res@trXMinF=1
res@trXMaxF=12
res@tmXBMinorOn = False
res@tmXBMode = "Explicit"
res@tmXBValues = ispan(1, 12, 1)
res@tmXTLabels = (/"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"/)
res@xyLineThicknesses = 2. ; thicker line
res@tiMainString = "~F9~ Nanjing&Shanghai correlation coefficient"
plot = gsn_csm_xy(wks,month,data,res)
end
|
|