爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3716|回复: 1

[grads] 求助,等值线加阴影图的图形设置

[复制链接]

新浪微博达人勋

发表于 2015-1-5 12:22:01 | 显示全部楼层 |阅读模式
GrADS
系统平台:
问题截图:
问题概况: 画出的图是等值线加阴影图,结果等值线和线上的标记一直是绿色,设置了'set ccolor 0' 也没用
我看过提问的智慧: 看过
自己思考时长(天): 1

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

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

x
'set grads off'
'set grid off'
'enable print e:\1.gmf'
'set lon 73 135'
'set lat 15 55'
'set mpdset hires cnworld'
'define d=oacres(g,p2.3,1.5)'
'define d1=maskout(d,g-0.5)'
'define dd=smth9(d1)'
'set lon 100 135'
'set lat 15 55'
' set rgb 16   0   0  255 '
' set rgb 17  30  30  255 '
' set rgb 18  60  60  255 '
' set rgb 19  90  90  255 '
' set rgb 20 120 120  255 '
' set rgb 21 150 150  255 '
' set rgb 22 180 180  255 '
' set rgb 23 220 220  255 '
' set rgb 24 255 255  255 '
' set rgb 25 255 220  220 '
' set rgb 26 255 180  180 '
' set rgb 27 255 150  150 '
' set rgb 28 255 120  120 '
' set rgb 29 255  90   90 '
' set rgb 30 255  60   60 '
' set rgb 31 255  30   30 '
' set rgb 32 255   0    0 '
'set gxout shaded'
'set rbcols   19 20 21 22 23 25 26 27 28 29 30 31'
'set clevs  -0.04 -0.03 -0.02 -0.01 0 0.01 0.02 0.03 0.04 0.05 0.06'
'cnbasemap dd'
'cbarn 0.6 0'



'set lon 73 135'
'set lat 15 55'
'set mpdset hires cnworld'
'define a=oacres(g,p1.2,1.5)'
'define a1=maskout(a,g-0.5)'
'define aa=smth9(a1)'
'set lon 100 135'
'set lat 15 55'
'set gxout contour'
'set cint 0.5'
'set ccolor 0'
'd aa'
'cnbasemap aa'

'run e:\data\southsea.gs'
'print'
'disable print'
'reinit'
;

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

新浪微博达人勋

发表于 2015-1-5 13:15:37 | 显示全部楼层
你要把颜色重新设置一下

将'set ccolor 0'改为
'set ccolor rainbow'
'set rbcols  4 14 13 10 12 8 6 '
也可以调用调色板的gs
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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