- 积分
- 445
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-6-21
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
;*****************************************************
; Manually create and attach legend
;*****************************************************
res_text = True ; text mods desired
res_text@txFontHeightF = 0.03 ; change text size
res_text@txJust = "CenterLeft" ; text justification
res_lines = True ; polyline mods desired
res_lines@gsLineDashPattern = 0. ; solid line
res_lines@gsLineThicknessF = 5. ; line thicker
res_lines@gsLineColor = "red" ; line color
xxxx = (/30,55/)
yy = (/990,990/)
gsn_polyline(wks,plot,xxxx,yy,res_lines) ; add polyline
gsn_text(wks,plot,"SNU",yy,60,res_text) ; add text
yy = (/985,985/)
res_lines@gsLineColor = "blue" ; change to blue
gsn_polyline(wks,plot,xxxx,yy,res_lines) ; add polyline
gsn_text(wks,plot,"NCEP",985,60,res_text) ; add text
draw(plot)
frame(wks)
以上是部分code.问题就是,不显示我想显示的字符串。
不知道什么原因呀、麻烦各位大神了。谢谢。
|
|