[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


[Thread Prev][Thread Next][Index]