- 积分
- 6169
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2014-12-27
- 最后登录
- 1970-1-1
|
GrADS
系统平台: |
centos 6.5 |
问题截图: |
|
问题概况: |
使用两个不同的ctl文件,一个可以出现图例,一个出现不了 |
我看过提问的智慧: |
看过 |
自己思考时长(天): |
1 |
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
本帖最后由 weiweicf 于 2016-1-19 15:55 编辑
- 'set grid off'
- 'set parea 0.8 9.5 0.85 7.7'
- 'set grads off'
- 'set timelab off'
- 'set mproj scaled';'set mpdset cnworld'
- 'draw map'
- 'set gxout shaded'
- 'run 'dir'/usr/local/lib/grads/scripts/rain.gs'
- 'set clevs 0.1 1 2 4 6 10 15 20 30 40 60 80 100'
- 'set ccols 21 22 23 24 25 26 27 28 29 30 31 32 33 34'
- *'display ASO4J'
- 'display (RAINNC.2(z=1)+RAINC.2(z=1))'
- 'draw shp 'dir'/usr/local/lib/grads/scripts/shp/sx.shp'
- 'set gxout vector'
- 'set ccolor 15'
- 'd skip(u.2(z=1),6);skip(v.2(z=1),6)'
- 'set arrlab on'
- 'set arrscl 0.5 8'
- *'run 'dir'/usr/local/lib/grads/scripts/cbar_matlab 10 1 1'
- 'run 'dir'/usr/local/lib/grads/scripts/cbar_matlab.gs'
- *'draw title date'(CST)Forecast 't' Hour :Surface PM2.5 ug/m3 Wind(m/s) 'date
- 'draw title a\b'
- 'printim 'dir'/ww/Weather/output'd'_hour_rain_'t'.png x1200 y1000 white'
- t=t+1
- endwhile
复制代码
使用grads画降雨量图,打开不同的文件,一个可显示色标,一个显示不了,使用的是家园里的cbar_matlab.gs,如果没有值的话是不是不显示色标呢,cbar_matlab.gs里的这句是什么意思
* Check shading information
*
'query shades'
shdinfo = result
if (subwrd(shdinfo,1)='None')
say 'Cannot plot color bar: No shading information'
return
endif
,不显示色标出的错就是'Cannot plot color bar: No shading information'
忘各位大神解答。
|
-
有图标
-
无图标
|