- 积分
- 282
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-5-16
- 最后登录
- 1970-1-1
|
登录后查看更多精彩内容~
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
grads 画一页多图 panels(args) 参考的这个办法 http://bbs.06climate.com/forum.php?mod=viewthread&tid=4586为什么设置的等值线以及数值的大小出图都像是默认设置,改也没用?'REINIT'
rc = gsfallow("on")
nrows=3
ncols=2
args=nrows%' '%ncols
*'enable print H:/ncep1.0/2020/fnl_20200131_00_00.gmf'
'set grads off'
'set grid off'
'set mproj scaled'
panels(args)
'set map 15 1 2'
'set mpdset cnworld'
'set lat 30 70'
'set lon 40 120'
*-----pic-a------
_vpg.1
'set parea 1 9.8 1 7.5'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_00_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_06_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_12_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_18_00.ctl'
'set lev 500'
'set lat 30 70'
'set lon 40 120'
'set ccolor 1'
'set gxout contour'
'set cthick 1'
'set cint 4'
'set clopts 1 0.25 0.09'
'set xlpos -10'
'set ylpos -10'
'd (HGTprs.1+HGTprs.2+HGTprs.3+HGTprs.4)/40'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type L -lable on -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type B -lable off -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'set vpage off'
*标站点
'q w2xy 87.65 43.78'
x=subwrd(result,3)
y=subwrd(result,6)
'set line 1'
'draw mark 3 'x' 'y' 0.05'
'close 4'
'close 3'
'close 2'
'close 1'
*-----pic-c------
_vpg.3
'set parea 1 9.8 1 7.5'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_00_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_06_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_12_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_18_00.ctl'
'set lev 500'
'set lat 30 70'
'set lon 40 120'
'set ccolor 1'
'set gxout contour'
'set cthick 1'
'set cint 4'
'set clopts 1 0.25 0.09'
'set xlpos -10'
'set ylpos -10'
'd (HGTprs.1+HGTprs.2+HGTprs.3+HGTprs.4)/40'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type L -lable on -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type B -lable off -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'set vpage off'
*标站点
'q w2xy 87.65 43.78'
x=subwrd(result,3)
y=subwrd(result,6)
'set line 1'
'draw mark 3 'x' 'y' 0.05'
'close 4'
'close 3'
'close 2'
'close 1'
*-----pic-e------
_vpg.5
'set parea 1 9.8 1 7.5'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_00_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_06_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_12_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_18_00.ctl'
'set lev 500'
'set lat 30 70'
'set lon 40 120'
'set ccolor 1'
'set gxout contour'
'set cthick 1'
'set cint 4'
'set clopts 1 0.25 0.09'
'set xlpos -10'
'set ylpos -10'
'd (HGTprs.1+HGTprs.2+HGTprs.3+HGTprs.4)/40'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type L -lable on -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type B -lable off -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'set vpage off'
*标站点
'q w2xy 87.65 43.78'
x=subwrd(result,3)
y=subwrd(result,6)
'set line 1'
'draw mark 3 'x' 'y' 0.05'
'close 4'
'close 3'
'close 2'
'close 1'
*-----pic-b-------
_vpg.2
'set parea 1 9.8 1 7.5'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_00_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_06_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_12_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200208_18_00.ctl'
'set lat 30 60'
'set lon 60 110'
'set ccolor 1'
'set gxout contour'
'set cthick 1'
'set cint 4'
'set clopts 1 0.25 0.09'
'set xlpos -10'
'set ylpos -10'
'd (PRMSLmsl.1+PRMSLmsl.2+PRMSLmsl.3+PRMSLmsl.4)/400'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type L -lable on -position o -interval 10 -suffix `3. -lsize 0.1 -lthick 3'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type B -lable off -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'set vpage off'
*标站点
'q w2xy 87.65 43.78'
x=subwrd(result,3)
y=subwrd(result,6)
'set line 1'
'draw mark 3 'x' 'y' 0.05'
'close 4'
'close 3'
'close 2'
'close 1'
*-----pic-d-------
_vpg.4
'set parea 1 9.8 1 7.5'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_00_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_06_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_12_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200209_18_00.ctl'
'set lat 30 60'
'set lon 60 110'
'set ccolor 1'
'set gxout contour'
'set cthick 1'
'set cint 4'
'set clopts 1 0.25 0.09'
'set xlpos -10'
'set ylpos -10'
'd (PRMSLmsl.1+PRMSLmsl.2+PRMSLmsl.3+PRMSLmsl.4)/400'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type L -lable on -position o -interval 10 -suffix `3. -lsize 0.1 -lthick 3'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type B -lable off -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'set vpage off'
*标站点
'q w2xy 87.65 43.78'
x=subwrd(result,3)
y=subwrd(result,6)
'set line 1'
'draw mark 3 'x' 'y' 0.05'
'close 4'
'close 3'
'close 2'
'close 1'
*-----pic-f-------
_vpg.6
'set parea 1 9.8 1 7.5'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_00_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_06_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_12_00.ctl'
'open H:/ncep1.0/2020/2020.02/fnl_20200212_18_00.ctl'
'set lat 30 60'
'set lon 60 110'
'set ccolor 1'
'set gxout contour'
'set cthick 1'
'set cint 4'
'set clopts 1 0.25 0.09'
'set xlpos -10'
'set ylpos -10'
'd (PRMSLmsl.1+PRMSLmsl.2+PRMSLmsl.3+PRMSLmsl.4)/400'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type L -lable on -position o -interval 10 -suffix `3. -lsize 0.1 -lthick 3'
'run D:\OpenGrADS\Classic\scripts\axis.gs -type B -lable off -position o -interval 20 -suffix `3. -lsize 0.1 -lthick 3'
'set vpage off'
*标站点
'q w2xy 87.65 43.78'
x=subwrd(result,3)
y=subwrd(result,6)
'set line 1'
'draw mark 3 'x' 'y' 0.05'
'close 4'
'close 3'
'close 2'
'close 1'
*标题
*'set string 1 c 8'
*'set strsiz 0.25 0.25'
*'draw string 2.5 10.8 500hPa'
*'set strsiz 0.25 0.25'
*'draw string 8.5 10.8 sea level'
'set grads off'
'set grid off'
'print'
'printim H:/ncep1.0/2020/KKK2yue8912hecheng1.png white'
'disable print'
*'print H:/ncep1.0/2020/2yue8912hecheng1.eps'
'reinit'
;
|
-
-
-
2.gs
6.06 KB, 下载次数: 6, 下载积分: 金钱 -5
|