[Thread Prev][Thread Next][Index]

[ferret_users] Using RGB colors in Pyferret 7.1




yes? PLOT/COLOR=(60,50,20)/GRATICULE="(DASH,COLOR=RED)" I[I=1:50] ! OK

yes? PLOT/COLOR=(60,50,20)/GRATICULE="(DASH,COLOR=(100,20,20))" I[I=1:50] ! Wrong
 **ERROR: value out of legal range: (100
          Format is (R,G,B) or (R,G,B,A),where R,G,B,A are integer values 0-100

yes? PLOT/COLOR=(60,50,20)/GRATICULE="(DASH,COLOR='(100,20,20)')" I[I=1:50] ! Wrong
 **ERROR: invalid command: COLOR='(100
          Colors are Black, Red, Green, Blue, LightBlue, Purple, and White

yes? PLOT/COLOR=(60,50,20)/GRATICULE="(DASH,COLOR=100,20,20)" I[I=1:50] ! Wrong
STOP FGD_CREATE_TEMP_PEN: null colorobj for icolor

Is there a syntax to use RGB colors everywhere ?

Thanks,

Olivier

-- 
Dr. Olivier Marti  - mailto:olivier.marti@xxxxxxxxxxxx
Laboratoire des Sciences du Climat et de l'Environnement
Institut Pierre Simon Laplace
Laboratoire CEA-CNRS-UVSQ  -  UMR 8212
Tel : +33 1 69 08 77 27 - Mob : +33 6 45 36 43 74
Fax : +33 1 69 08 30 73




[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement