[Thread Prev][Thread Next][Index]

Re: [ferret_users] Palette Ideas?



I think the key would have to be done manually (by defining viewports and dummy variables for each one), but all RGB colors are available in Ferret. It is easy to make your own palettes. There must be documentation but you could just look at some of the existing palettes in /usr/local/ferret/ppl. These files have the extension .spk, and you can easily make your own. There are two classes: ordinary palettes, each line of which looks like:

value R G B

where value is a number from 0-100, corresponding to the fractional value of the quantity being color-filled, and each R,G,B value is also 0-100, corresponding to the amount of each color. You can make any RGB color this way.

The other method is called RGB_Mapping By_level, which specifies particular colors by a particular data value. Look at some of the existing palettes in /usr/local/ferret/ppl/*by_level*.spk for examples.

BK

On May 3, 2013, at 13:45 , Luke M wrote:

Hi everyone

I'm trying to generate some plots that would use specific color palettes (see attached). Thus, referring to the attached jgp sample, I was wondering:

1. Since the top & middle color palettes don't seem to be available in Ferret, is there a way I can generate these?

2. is Ferret capable of creating a "key" like the bottom example?

Thanks

        L.

<palettes.jpg>



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

Privacy Policy | Disclaimer | Accessibility Statement