- 积分
- 506
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-10-15
- 最后登录
- 1970-1-1
|
发表于 2014-3-17 15:28:24
|
显示全部楼层
OK了,我有畫出剖面,但是又遇到一點問題,我先貼出我的圖跟GS檔
GS檔:
'set grads off'
'set zlog on'
'set csmooth on'
'set x 1'
'set y 1'
'set lev 1000 700'
lon1 = 121.465886
lon2 = 121.539731
lat1 = 25.1108441
lat2 = 24.9693381
'define alfa=atan2('lat2-lat1','lon2-lon1')'
lon = lon1
'collect 1 free'
'collect 2 free'
'collect 3 free'
'collect 4 free'
while (lon <= lon2)
lat = lat1 + (lat2-lat1)*(lon-lon1) / (lon2-lon1)
'collect 1 gr2stn(U*cos(alfa)+V*sin(alfa),'lon','lat')'
'collect 2 gr2stn(W*3,'lon','lat')'
'collect 3 gr2stn(hgt,'lon','lat')'
'collect 4 gr2stn(rh,'lon','lat')'
lon = lon + 0.006
endwhile
'set map 15 1 9'
'set parea 1 10.2 1.5 8'
'set xlopts 1 6 0.1'
'set ylopts 1 6 0.1'
'set font 2'
'set x 83 85'
'set xaxis 'lon1' 'lon2
*'set clab on'
*'set gxout shaded'
*'set bargap 0'
*'set clab off'
*'set clevs 20'
*'set ccols 0 5 0'
*'d coll2gr(3,-u)'
*
'set rgb 16 255 255 255'
'set rgb 17 255 234 255'
'set rgb 18 255 213 255'
'set rgb 19 255 191 255'
'set rgb 20 255 170 255'
'set rgb 21 255 149 255'
'set rgb 22 212 107 234'
'set rgb 23 170 85 213'
'set rgb 24 128 64 191'
'set rgb 25 85 43 170'
'set rgb 26 42 21 149'
'set rgb 27 0 0 128'
'set ccols 16 17 18 19 20 21 22 23 24 25 26 27'
'set clevs 0.0 10.0 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0'
'set gxout shaded'
'd maskout(coll2gr(4,-u),-coll2gr(3,-u))'
'cbarn.gs'
*
'set ccolor 0'
'set gxout vector'
'set arrscl 1 5'
'set clab on'
'd maskout(coll2gr(1,-u),-coll2gr(3,-u));maskout(coll2gr(2,-u),-coll2gr(3,-u));mag(coll2gr(1,-u),coll2gr(2,-u))'
畫出來的圖:
問題來了,我在GS檔裡面有設定vector的顏色為黑色,可是不管怎麼改都還是沒辦法弄成黑色,甚至是加粗也不行
請問大大是哪裡有問題嗎? 感謝感謝ORZ
|
|