- 积分
- 141
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-3-1
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2015-2-15 21:05:01
|
显示全部楼层
'reinit'
'set vpage 0 11 0 8.5'
'set parea 1 6.0 1.0 4.0'
'set grads off'
'set grid off'
'open E:/climate/enso/TC/TC.anom.yr.ctl'
'enable print E:/climate/enso/TC/TC.anom.yr.gmf'
'set t 1 66'
*==TC number anomaly==*
'set csmooth on'
*-------以下部分为大于0值和小于0值设置不同颜色代码------*
*-------------------------------------------------------*
'set axlim -15 20' ;*须固定y轴
'set gxout bar'
'set bargap 50'
'set barbase 0' ;*条形直方图从0开始向上和向下画
'set ccolor 2'
'd maskout(tc,tc)' ;*设置大于0值为红色
'set ccolor 4'
'd maskout(tc,-tc)' ;*设置小于0值为蓝色
*-------------------------------------------------------*
'set strsiz 0.12'
'draw string 1.7 4.21 Tropical Cyclone Number Anomaly'
'set line 1 2'
'draw line 1.0 2.30 6.0 2.30'
'close 1'
'print'
'disable print'
'reinit'
|
|