- 积分
- 4047
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-11-12
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2015-12-10 16:44:59
|
显示全部楼层
不好意思,上面的程序贴错了
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
begin
data = asciiread("liu.csv",-1,"string")
printVarSummary(data)
x=data(:1)
y= data(1:)
wks = gsn_open_wks("pdf","gsn_xy") ; Open a workstation.
res = True ; plot mods desired
res@tiMainString = "An xy plot Example" ; title
res@tiYAxisString = "AQI (ppmv)" ; y axis title
res@tiXAxisString = "Time" ; x axis title
plot = gsn_xy(wks,x,y,res) ; Draw an XY plot with 1 curve.
end
|
|