[Thread Prev][Thread Next][Index]
Re: [ferret_users] About color palette
Try a palette like:
cat > gray_white_gray.spk
0 50 50 50
45 100 100 100
55 100 100 100
100 50 50 50
Then in ferret:
shade/pal=gray_white_gray/lev=(-10,10,1,-1) var_name
That will be medium gray at both limits, and white in the middle.
The first number in each line is the percent of the levels range.
They should cover the whole range 0 to 100 percent (not sure what
happens if they don't). The next 3 numbers are R/G/B values that
range from 0 to 100.
Billy K
On Aug 3, 2007, at 6:57 PM, Weipeng Zheng wrote:
Dear ferreters,
I want to plot a figure with the value range from -10 to +10 and I
prefer to use the grayscale palette and have the white in the center:
like -10 to 0 ( from darkgray to white)
0 to +10 ( from white to darkgray)
I don't know how to define this palette, can somebody give me this
palette or an example.
I fill confusing about the percentage and the RGB code.
Thanks in advance.
Regards!
Weipeng
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement