[Thread Prev][Thread Next][Index]

Re: [ferret_users] customize white_centered palette



Hey David,
if you look at the white_centered.spk file at  $yourferretdir$/ppl, you can see that different colours belong to percent values. White colour is between 35 and 65 percent of the given scale.
If you used (-inf)(-2,2,0.5)(inf) instead of (-inf)(-2.5,2.5,0.5)(inf) you would have white between -0.5 and 0.5. If you wanted to keep the -2.5 and 2.5 as for borders, simply edit the palette file: change the
35  100  100  100
65  100  100  100
to
40  100  100  100
60  100  100  100

Cheers, Peter

On Wed, Sep 24, 2008 at 3:52 AM, David Wang <climater@xxxxxxxxx> wrote:
Hi Ferreters,

I use the palette white_centered in the following command:

yes? shade/line/key/lev=(-inf)(-2.5,2.5,0.5)(inf)/pal=white_centered myvar

The resultant plot turns out to be whitened between -1 and 1, whereas I intend between -0.5 and 0.5 only. I wonder if there is one way or another to customize this particular palette.

Thanks,
David



[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement