- 积分
- 193
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2015-1-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
程序如下:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" ; Load the NCL file that contains the gsn_*
begin
x = (/10.,20.,30.,40.,50.,60.,70.,80.,90./)
y2 = (/(/0., 0.7, 1., 0.7, 0., -0.7, -1., -0.7, 0./),\
(/2., 2.7, 3., 2.7, 2., 1.3, 1., 1.3, 2./),\
(/4., 4.7, 5., 4.7, 4., 3.3, 3., 3.3, 4./)/)
x@long_name = "X" ; Define attributes of x
y2@long_name = "Y" ; and y2.
wks = gsn_open_wks("x11","gsun01n") ; Open an X11 workstation.
plot = gsn_xy(wks,x,y2,False)
gsn_draw_colormap(wks)
end
但运行时出现Segmentation fault (core dumped),用gdb调试后出现:
求问是哪错了
|
|