爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 6392|回复: 5

[脚本编辑] grads画一页多图时只有第一个图显示地图,后面的不显示地图

[复制链接]

新浪微博达人勋

发表于 2017-3-28 22:22:46 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
大家晚上好,我在用grads做一页多图时,只有第一个图显示地图,后面的都不显示地图,每个虚页上我都加上了set mpdset cnworld,可就是不显示地图?求指导。程序如下:
'reinit'
'sdfopen hgt.2013.nc'
'sdfopen uwnd.2013.nc'
'sdfopen vwnd.2013.nc'
'sdfopen air.2013.nc'
'set grid off'
'set grads off'
'set mpdset cnworld'


'set parea 1 5.5 4.5 7.5'
'set lev 500'
********************first picture
'set t 1295'
'set lat 20 70'
'set lon 60 150'
'set mpdset cnworld'
'set gxout contour'
'set ccolor 1'
'set cint 8'
'define h=hgt.1/10.'
'set clskip 2'
'set cthick 4'
'd h'
'set gxout vector'
'set arrscl 0.5 50'
'set ccolor 1'
'set cthick 1'
'set strmden 1'
'd skip(uwnd.2,1);skip(vwnd.3,1)'
'set gxout contour'
'set ccolor 2'
'define t=air.4-273.15'
'set cint 4'
'set clab forced'
'set cstyle 3'
*'d t'
'set string 1 tl 5'
'set strsiz 0.2 0.2'
'draw string 1.1 7.4 (a)'

'set parea 6 10.5 4.5 7.5'
'set lev 700'
********************second picture
'set t 1295'
'set lat 20 70'
'set lon 60 150'
'set mpdset cnworld'
'set gxout contour'
'set ccolor 1'
'set cint 4'
'define h=hgt.1/10.'
'set clskip 2'
'set cthick 1'
'd h'
'set gxout vector'
'set arrscl 0.5 30'
'set ccolor 1'
'set strmden 1'
'd uwnd.2;vwnd.3'
'set gxout contour'
'set ccolor 2'
'define t=air.4-273.15'
'set cint 4'
'set clab forced'
'set cstyle 3'
*'d t'
'set string 1 tl 5'
'set strsiz 0.2 0.2'
'draw string 6.1 7.4 (b)'


  
'set parea 1 5.5 1 4'
'set lev 850'
********************third picture
'set t 1295'
'set lat 20 70'
'set lon 60 150'
'set mpdset cnworld'
'set gxout contour'
'set ccolor 1'
'set cint 4'
'define h=hgt.1/10.'
'set clskip 2'
'd h'
'set gxout vector'
'set arrscl 0.5 30'
'set ccolor 1'
'd uwnd.2;vwnd.3'
'set gxout contour'
'set ccolor 2'
'define t=air.4-273.15'
'set cint 4'
'set clab forced'
'set cstyle 3'
*'d t'
'set string 1 tl 5'
'set strsiz 0.2 0.2'
'draw string 1.1 3.9 (c)'

'set parea 6 10.5 1 4'
'set lev 925'
********************fourth picture
'set t 1295'
'set lat 20 70'
'set lon 60 150'
'set mpdset cnworld'
'set gxout contour'
'set ccolor 1'
'set cint 4'
'define h=hgt.1/10.'
'set clskip 2'
'd h'
'set gxout vector'
'set arrscl 0.5 30'
'd uwnd.2;vwnd.3'
'set gxout contour'
'set ccolor 2'
'define t=air.4-273.15'
'set cint 4'
'set clab forced'
'set cstyle 3'
*'d t'
'set string 1 tl 5'
'set strsiz 0.2 0.2'
'draw string 6.1 3.9 (d)'



'printim highlevel.gif white '
'disable print'
;

密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2017-3-28 22:42:20 | 显示全部楼层
在每一个分页前面加上'set vpage 0 11 0 8.5'即可。另,请善用家园搜索功能。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2017-3-29 09:32:16 | 显示全部楼层
FRUITKID 发表于 2017-3-28 22:42
在每一个分页前面加上'set vpage 0 11 0 8.5'即可。另,请善用家园搜索功能。

谢谢楼主,已解决
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2018-4-30 16:56:03 | 显示全部楼层
NWP 发表于 2017-3-29 09:32
谢谢楼主,已解决

请问楼主如何解决的  我试了怎么不行喃
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2019-1-18 18:00:43 | 显示全部楼层
NWP 发表于 2017-3-29 09:32
谢谢楼主,已解决

多谢多谢
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2020-11-1 10:52:20 | 显示全部楼层
FRUITKID 发表于 2017-3-28 22:42
在每一个分页前面加上'set vpage 0 11 0 8.5'即可。另,请善用家园搜索功能。

哇,谢谢分享,我看了半天没有解决的问题。加一句指令就解决了。
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表