[Thread Prev][Thread Next][Index]

Re: [ferret_users] Using RGB colors in Pyferret 7.1



Hi Olivier,

This is a bug in the parsing of the COLOR=... specification in the /GRATICULE option.  You first attempt should have worked if we were parsing this correctly.  As a work-around, you could try expanding the number of colors using SET MODE LINECOLORS

../../documentation/users-guide/commands-reference/SET.html#_VPINDEXENTRY_mode_linecolors

adding your desired color as one of these added colors using PPL COLOR

../../documentation/users-guide/appendix-c-ferret-specific-pplus-enhancements/ENHANCED-COMMANDS-DESCRIPTION.html#_VPID_758

and then use that color number for the graticule color.  So something like:

SET MODE LINECOLORS 7
PPL COLOR 7,100,20,20
PLOT /COLOR=(60,50,20) /GRATICULE="(DASH,COLOR=7)" I[I=1:50]

But we will get that fixed soon.

Karl

On Fri, Apr 13, 2018 at 4:47 AM, Olivier Marti <olivier.marti@xxxxxxxxxxxx> wrote:

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

--
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."

[Thread Prev][Thread Next][Index]