[Thread Prev][Thread Next][Index]
[ferret_users] color key gets wrong
Hi ferret users,
I tried to plot Lagrangian trajectories with the skript below.
However, the resulting color key of the first plot is erroneous. The
colors get mixed and
the underlying land area changes the color from grey to dark blue (see
attached figure).
Is there a way to fix the colors to the favored color key?
Regards,
Sabine
___________________________________________________________
cancel viewport
SET WINDOW/CLEAR
cancel mode logo
PPLUS/RESET
set memory/size=400
use sh_vol.nc
use sh_pos.nc
let mask1=if(ppress[d=2,l=30] lt 200) then 1
let mask2=if(slagvol[d=1,l=30] lt 0) then 1
let mask=mask1*mask2
DEFINE VIEWPORT/XLIM=0.,0.9/YLIM=0.0,0.5 V1
DEFINE VIEWPORT/XLIM=0.,0.9/YLIM=0.4,0.9 V2
set viewport v2
go basemap x=0:360 y=4S:90N
repeat/l=1:30 (go polymark
poly/over/key/line/fill/nolabel/pal=land_sea/levels=(-inf)(-1.E6,9.E5,1.E5)(inf)
plon[d=2]*mask plat[d=2
]*mask slagvol[d=1]*mask/1.E9 circle 0.5; ppl shaset reset)
set viewport v1
go basemap x=0:360 y=4S:90N
repeat/l=1:25 (go polymark
poly/over/key/line/fill/nolabel/pal=land_sea/levels=(100)(200)(500)(1000)(2000)(5000)(10000)(20000)(500
00)(100000) plon[d=2]*mask plat[d=2]*mask shx_vec[d=1]*mask/1000 circle
0.5; ppl shaset reset)
frame/file=test.gif
_______________________________________________________________________________
--
-------------------------------------------------------------------
Dr. Sabine Brinkop sabine.brinkop@xxxxxx
DLR - Institut für Physik der Atmosphäre
Oberpfaffenhofen
D-82234 Wessling, Germany
Tel.: +49-8153-282512 Fax: +49-8153-28-1841
http://www.pa.op.dlr.de
-------------------------------------------------------------------
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement