- 积分
- 6817
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-6-20
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
首先,感谢兰溪和A,
'reinit'
'open E:\grads\d02\geo_em.ctl'
*'enable print E:\grads\d02\lu_index.gmf'
'set grid off'
'set grads off'
'set mpdset hires'
'set mpdset cnworld'
*'set mpdset cnwater'
*'set lat 28.3 32.1'
*'set lon 105.3 110.3'
'set lat 28.1 32.23'
'set lon 105.3 110.3'
'set gxout shaded'
*'define_colors'
*'set rbcols 42 43 44 45 22 23 24 25 26 27'
*'set clevs 300 600 900 1200 1500 1800 2100 2400 2700'
'define_colors'
'set rbcols 38 36 34 74 39 77 22 2 52 1 65 4 0'
'set clevs 2 5 7 9 10 11 12 13 14 15 16 17'
'd LU_INDEX'
'cbar 1 1 8.2 4.3'
'printim E:\grads\d02\lu_index.png'
*'print'
*'disable print'
;
以上是gs文件,下面是ctl中的格点数。
xdef 2377 linear 105.22048 0.00225225
ydef 2024 linear 27.84698 0.00225225
zdef 24 linear 1 1
界面上run gs 后等上1-2分钟,可以正常的显示出来,但是就是保存不了,我试了两种保存方法都不行。
有个错误提示,Out of buffer space,然后存的文件只有38K,打不开。如果用gs中带*号的另一种保存方法,则显示
Out of buffer space
Error status on print metafile is positive.
Cannot print current frame.
Hardcopy output file is closed
最终文件只有1K,当然也是打不开。有人建议把后缀名该为png,试过后,能保存图,但是只是截图的一小块,很不完整。
格点数是老师的硬性要求,不可能减少。我就纳闷,能显示出来怎么就不能保存呢? 空间肯定够,60几G,难道是内存不足?
最后来一张显示出来的截图
|
|