- 积分
- 365
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2016-4-13
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 松子茶 于 2018-12-5 17:18 编辑
下面是我编辑的gs,之前画平面图可以出图,稍作修改画沿纬向的剖面就一直出现问题,求大神指点
*垂直螺旋度沿纬度剖面
'reinit'
'sdfopen f:\nc\421.nc'
'enable print f:\nc\Hp_N.gmf'
'set lon 110 120'
'set lat 35
'set lev 1000 100'
*'set mpdset cnworld'
'set grid off'
'set display color white'
'c'
'set grads off'
'set ylevs 1000 925 850 700 600 500 400 300 200 100'
'set xlopts 1 5 0.2'
'set ylopts 1 5 0.2'
'set csmooth on'
day=20
while(day<=22)
hour=0
while(hour<=18)
tt=(day-20)*4+hour/6+1
'set t 'tt''
'set xlint 1'
'set ylint 1'
* 绘制垂直螺旋度
'set gxout contour'
'define wd=hcurl(u,v)'
'define lx=-(wd*w*(-1000))/12.64'
'set ccolor 1'
'd lx*1e+6'
'draw title Hp for 2018Apr'day' 'math_mod(hour,24)''
'print'
'c'
hour=hour+6
endwhile
day=day+1
endwhile
'disable print'
'reinit'
;
|
|