- 积分
- 1139
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2011-9-23
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2013-4-9 15:52:15
|
显示全部楼层
lqouc 发表于 2013-4-9 14:56
你画图的gs呢,不能就断定是插值不对吧,很可能是你画图的问题,或者是差值的数据ctl有问题?就说这个插值的 ...
谢谢你的回复,麻烦你看看我画图用的ctl和gs文件。
这是插值后格点文件的ctl:
dset H:\drought\1981-2010pre\pentad\30ave-pentad-grid.grd
undef 3276.6
title sample data
XDEF 141 LINEAR 70 0.5
YDEF 81 LINEAR 15 0.5
zdef 1 linear 1000 1
tdef 73 linear 1jan1981 5dy
vars 1
r 0 99 grid data prepared oacres function
endvars
画图的gs:
'reinit'
'enable print H:\drought\1981-2010pre\pentad\pentad110-120E.gmf'
'open H:\drought\1981-2010pre\pentad\30ave-pentad-grid.ctl'
'set grads off';'set grid off'
'set parea 1 10.5 2 7.5'
'set xlopts 1 6 0.15'
'set ylopts 1 6 0.15'
'set ylint 5'
'set lat 20.5 45'
'set t 1 73'
'set z 1'
'set x 1'
'set xyrev on'
'define p=ave(r,lon=110,lon=120)'
'set gxout shaded'
'set cmin 2'
'set cint 2'
'set clevs 2 4 6 8 10 12 14 16'
'set ccols 0 14 11 3 7 12 8 2 6'
'd p'
'set gxout contour'
'set ccolor 1';'set cthick 5'
'set cmin 2'
'set cint 2'
'd p'
'cbarn 1 0 5.8 1.3'
'set line 0'
*'draw recf 0.71 1.50 1.25 1.71'
'draw title Prep 110E-120E '
'print'
'disable print'
;
|
|