- 积分
- 313
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-9-11
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
参考的是mofangbao的《grads站点文件作图详细解决方案》,有两个问题:1、海南边界之外的数值不显示出来,但是显示的图形和海南岛的边界有点差异,不是特别的吻合,想问问有什么办法,能够吻合的好一点呢?
2、用enable保存的时候,打不开,会出现错误file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\569100706\QQ\WinTemp\RichOle\F)`R1}GM(TIHK`V}3D9O)2Q.jpgfile:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\569100706\QQ\WinTemp\RichOle\F)`R1}GM(TIHK`V}3D9O)2Q.jpgfile:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\569100706\QQ\WinTemp\RichOle\F)`R1}GM(TIHK`V}3D9O)2Q.jpg如下: internal error: polyine is too long , cannot continue drawing. 请问这是什么问题呢?用printim保存成png格式的时候,直接是 memory allocatio error:gxhpng这个错误,求解。
图是:
海南岛风速图(数值除以10是风速值)
gs命令是:
'reinit'
'open e:\zdz\grid.ctl'
'open e:\zdz\windspeed.ctl'
'enable print e:\zdz\windspeed.gmf'
'set lat 18.05 20.24'
'set lon 108.5 111.15'
'set grads off'
'set grid off'
'set mpdset hires cnworld'
'set mpdset x_cnworld'
'draw map'
'define a=oacres(g,ws.2,1.25)'
'define a1=maskout(a,g-0.5)'
'define aa=smth9(a1)'
'set gxout shaded'
'd aa'
'set gxout contour'
'set clab forced'
'set cint 5'
'cnbasemap aa'
'cbarn'
'q w2xy 110.37 19.99'
x=subwrd(result,3)
y=subwrd(result,6)
'writehz 'x+0.1' 'y-0.1' 琼山 1 2 1 0.8 0.5 0 20'
'draw mark 2 'x' 'y' 0.06'
'set frame on'
*'printim e:\zdz\windspeed.png white'
'print'
'disable print'
;
|
|