| 
 
	积分493贡献 精华在线时间 小时注册时间2017-12-16最后登录1970-1-1 
 | 
 
| 
gs文件如下,里面涉及到取整取余函数,运行时候出现错误提醒,说math_int not a valid numeric,正确的形式该如何写?求指点
x
登录后查看更多精彩内容~您需要 登录 才可以下载或查看,没有帐号?立即注册 
  'reinit'
 'open d:\sst.mnmean.v3.ctl'
 'set t 1 12'
 'define climate=ave(sst,t+0,t=636,12)'
 'modify climate seasonal'
 'set t 1 636'
 'define anom=sst-climate'
 'set lon 160 360'
 'set lat -30 30'
 i=1
 while(i<=636)
 a='i'/12.0
 'set t 'i''
 'set cint 0.5'
 'set gxout shaded'
 'd anom'
 'set cint 0.5'
 'set gxout contour'
 'd anom'
 'cbarn 1 0 4.5 0.35'
 b=math_int('a')
 c=math_fmod('a')
 'draw title 1960+'b'year'c'mon daxiyangSSTA'
 'printim d:\1picture\sst.mnmeanv3.daxiyang1960+'i'.gif gif white'
 'c'
 i=i+1
 endwhile
 ;
 
 | 
 |