- 积分
- 14713
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-12-18
- 最后登录
- 1970-1-1
|
发表于 2016-7-5 21:07:31
|
显示全部楼层
这也能让你女朋友满意吗...是的话你要好好待人家啊
-------------------------------------------------------------------------------
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
begin
wks = gsn_open_wks("ps","heart") ; Open "heart.ps" PostScript file.
heart_str = "~F35~r~F~" ; Use function code to change to font
; table 35, where "r" is a filled heart.
; shamrock_str = "~F35~p~F~" ; This draws a shamrock.
res = True
res@gsnMaximize = True ; This will make heart pretty big.
res@txFontColor = "red" ; Change font color
gsn_text_ndc(wks,heart_str,0.5,0.5,res) ; Draw string in viewport.
frame(wks) ; Advance the frame.
end
-------------------------------------------------------------------------------
代码拿去... |
|