- 积分
- 119
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2013-3-26
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2013-5-13 22:51:44
|
显示全部楼层
本帖最后由 yyyy 于 2013-5-13 22:59 编辑
mofangbao 发表于 2013-5-13 14:44
因为你一开始写了两个print,当然是两张图。
请设置两次vpage和parea,每一个实际上都是一个11*8.5的页面 ...
我不知道增么说了,举个例子吧
下面是成功地:
gs:
'reinit'
'open e:\paper\three\tx\tx9\st6.ctl'
'set x 1'
'set y 1'
'set z 1'
'set t 1 65'
'define y6=st6'
'close 1'
'open e:\paper\three\tx\tx9\st12.ctl'
'set x 1'
'set y 1'
'set z 1'
'set t 1 65'
'define y12=st12'
'close 1'
'open e:\paper\three\tx\tx9\10rain.ctl'
'enable print e:\paper\three\tx\tx9\10-rs-15yr.gmf'
'set x 1'
'set y 1 10'
'set z 1'
'set t 8 58'
'set vpage 0 11 0 8.5'
'set parea 0.5 5.3 4.0 8.0'
'define A=tcorr(y6,r,t-7,t+7)'
'set xyrev on'
'set grads off'
'set csmooth on'
'd A'
'draw string 0.5 7.8 JJA'
'draw string 2.5 3.5 (a)'
*'draw title rain-sst 15yr 678'
'print'
'set vpage 0 11 0 8.5'
'set parea 5.8 10.6 4.0 8.0'
'define G=tcorr(y12,r,t-7,t+7)'
'set xyrev on'
'set grads off'
'set csmooth on'
'd G'
'draw string 5.8 7.8 DJF'
'draw string 8.0 3.5 (b)'
*'draw title rain-sst 15yr 12-1-2'
'print'
'reinit'
这是不成功的:
gs:
'reinit'
'open E:\paper\eight\10rain.ctl'
'set x 1'
'set z 1'
'set t 1 65'
'set y 4'
'define r4=rain'
'set y 5'
'define r5=rain'
'define yu=(r4+r5)/2.0'
'close 1'
'open e:\paper\eight\pajp.ctl'
'set z 1'
'set lon 73 135'
'set lat 18.75 53.75'
'set t 1 65'
'define rr=r'
'close 1'
'open E:\paper\eight\st6.ctl'
'set x 1'
'set y 1'
'set z 1'
'set t 1 65'
'define s=st6'
'close 1'
'open E:\paper\eight\sst.ctl'
'enable print e:\paper\eight\prs.gmf'
'set z 1'
'set lon 0 360'
'set lat -88 88'
'set t 1 65'
'define ss=sst'
'set lon 0 360'
'set lat -88 88'
'set t 1 65'
'set vpage 0 11 0 8.5'
'set parea 0.50 6.50 4.00 8.20'
'set grads off'
'define R=tcorr(yu,ss,t=49,t=58)'
'd R'
'set lon 73 135'
'set lat 18.75 53.75'
'set t 1 65'
'set vpage 0 11 0 8.5'
'set parea 7.00 10.50 4.00 8.20'
'set mpdset hires'
'set grads off'
'set cint 0.1'
'define Q=tcorr(s,rr,t=49,t=58)'
'd Q'
*'draw title rain-sst'
'print'
'reinit'
|
-
-
|