爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3664|回复: 5

[分享资料] 一页多图中青藏高原填色问题

[复制链接]

新浪微博达人勋

发表于 2014-3-28 22:02:16 | 显示全部楼层 |阅读模式

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

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

x
我想在8张图中都对高原填色,但是写的gs只能对第一张图填色,此后的7张图都没办法画出,求各位大神支招啊,谢谢

出现的错误

出现的错误
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-28 22:06:05 | 显示全部楼层
gs如下:
'reinit'
'open f:\work\work\data\0205\t24\hn.ctl'
'open f:\work\work\data\0205\t24\gt24.ctl'
'open f:\work\data\wind\topo10.ctl'
'set rgb 20 8 8 8'
'set rgb 21 16 16 16'
'set rgb 22 40 40 40'
'set rgb 23 48 48 48'
'set rgb 24 56 56 56'
'set rgb 25 64 64 64'
'set rgb 26 72 72 72'
'set rgb 27 80 80 80'
'set rgb 28 88 88 88'
'set rgb 29 96 96 96'
'set rgb 30 104 104 104'
'set rgb 31 112 112 112'
'set rgb 32 143 143 143'
'set rgb 33 151 151 151'
'set rgb 34 167 167 167'
'set rgb 35 183 183 183'
'set rgb 36 199 199 199'
'set rgb 37 215 215 215'
'set rgb 38 231 231 231'
'set rgb 39 247 247 247'
'set mpdset hires cnworld'
'set grid off'
'set grads off'
'set lon 73 135'
'set lat 15 55'
'set clab off'
*--------- figure 1 --------
'set parea 0.5 6.05 6.58 8.4'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set t 3'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';
'set gxout shaded'
'cnbasemap air.1'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.1'
'set gxout contour'
'set ccolor 0'
'set cthick 0.01'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.1'
'set dfile 3'
'set t 1'
'set z 1'
'define ztp=maskout(tp.3,tp.3-3000)'
'set gxout shaded'
'set clevs 3000'
'set ccols 0 0'
'cnbasemap ztp'
*'set font 5'
'set strsiz 0.12 0.12'
*'draw string 2.2 8.3 t=020502'
'draw string 4.17 8.25 (a)'
*'drawfigstr TopRight (a) 0.8'
*--------- figure 2 --------
'set parea 5.45 10.0 6.58 8.4'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set map 1'
'set t 3'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';
'set gxout shaded'
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.2'
*'set dfile 3'
*'set t 1'
*'set z 1'
*'define ztp=maskout(tp.3(t=1),tp.3(t=1)-3000)'
*'set gxout shaded'
*'set clevs 3000'
*'set ccols 0 0'
'cnbasemap ztp.3'
'set strsiz 0.12 0.12'
*'draw string 7.7 8.3 t=020502'
'draw string 8.62 8.25 (e)'
*'drawfigstr TopRight (e) 0.8'

*--------- figure 3 --------
'set vpage off'
'set parea 0.5 6.05 4.49 6.31'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set grads off'
'set grid off'
'set t 7'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';
'set gxout shaded'
'cnbasemap air.1'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.1'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.1'
'set strsiz 0.12 0.12'
*'draw string 2.2 4.19 t=020602'
'draw string 4.17 6.17 (b)'
*'drawfigstr TopRight (b) 0.8'
*--------- figure 4 --------
'set vpage off'
'set parea 5.45 10.0 4.49 6.31'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set grads off'
'set grid off'
'set t 7'
'set gxout shaded'
'set clab forced'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';
'cnbasemap air.2'
*'set font 5'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.2'
'set strsiz 0.12 0.12'
*'draw string 2.2 4.19 t=020602'
*'drawfigstr TopRight (f) 0.8'
'draw string 8.65 6.17 (f)'
*--------- figure 5 --------
'set vpage off'
'set parea 0.5 6.05 2.4 4.22'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set grads off'
'set grid off'
'set t 11'
'set gxout shaded'
'set clab forced'
'set  xlopts 1 4 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';  
'cnbasemap air'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.1'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.1'
'set strsiz 0.12 0.12'
*'draw string 7.7 4.19 t=020702'
*'drawfigstr TopRight (c) 0.8'
'draw string 4.17 4.07 (c)'
*--------- figure 6 --------
'set vpage off'
'set parea 5.45 10.0 2.4 4.22'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set grads off'
'set grid off'
'set t 11'
'set gxout shaded'
'set cmax 0'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';  
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.2'
*'set font 5'
'set strsiz 0.12 0.12'
*'draw string 7.7 4.19 t=020702'
*'drawfigstr TopRight (g) 0.8'
'draw string 8.62 4.07 (g)'
*--------- figure 7 --------
'set vpage off'
'set parea 0.5 6.04 0.31 2.13'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set grads off'
'set grid off'
'set t 15'
'set gxout shaded'
'set clab forced'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';  
'cnbasemap air'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.1'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.1'
*'set font 5'
'set strsiz 0.12 0.12'
*'draw string 7.7 4.19 t=020802'
*'drawfigstr TopRight (d) 0.8'
'draw string 4.17 1.98 (d)'
*--------- figure 8 --------
'set vpage off'
'set parea 5.45 10.0 0.31 2.13'
'run f:\work\work\data\0205\t24\rainbowgrey1.gs'
'set mpdset cnscs'
'set grads off'
'set grid off'
'set t 15'
'set gxout shaded'
'set  xlopts 1 3 0.1';'set  ylopts 1 3 0.1'
'set xlint 10';  
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmax 0'
'set cint 3'
'cnbasemap air.2'
'set gxout contour'
'set ccolor 0'
'set cthick 1'
'set clab off'
'set cmin 0'
'set cint 5'
'cnbasemap air.2'
*'set font 5'
'set strsiz 0.12 0.12'
*'draw string 7.7 4.19 t=020802'
*'drawfigstr TopRight (h) 0.8'
'draw string 8.62 1.98 (h)'
'run plotcbar f:\work\work\data\0205\t24\rainbowgrey1.gs 1 0.7 1 10.0 4.3'
'printim f:\work\work\data\0205\t24\35.png white '
;
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-28 22:07:55 | 显示全部楼层
本帖最后由 Crystal_qiong 于 2014-3-28 22:09 编辑

C:\Users\Crystal\Desktop\35.png
35.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-3-29 08:03:28 | 显示全部楼层
这问题提的跟没说一样。您老人家先看看论坛置顶帖 提问的智慧吧
密码修改失败请联系微信:mofangbao

新浪微博达人勋

0
早起挑战累计收入
发表于 2014-3-29 10:08:39 | 显示全部楼层
虚页和parea结合使用
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-3-30 09:35:23 | 显示全部楼层
mofangbao 发表于 2014-3-29 10:08
虚页和parea结合使用

好的,我试试,谢谢啦
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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