[Thread Prev][Thread Next][Index]

Re: [ferret_users] grayscale palette



Hi Paul-
Thanks for the advice. That works quite well. I read the manual by didnt know to specify the first line to make it do points. The .spk file i had copied over to modify didnt have the first line so it defaulted to the percent values, which go one way.
I appreciate the help.

Thanks
jimmyc


On Sat, 16 Dec 2006, Paul Young wrote:

Hi James,

You can define your own palette for this purpose. You can have a look at
the information in the user's guide for information about this, but it
sounds like you need to define a palette 'by_values', which is where you
associate a particular colour with a contour level value. Start of by
creating a .spk file and have something like

RGB_Mapping_By_value
!SetPt Red     Green    Blue

at the top of the file. You can then fill in your levels in the first
column, followed by the colour you'd like to associate with that level,
expressed at percentage R, G and B, in the next three columns. For
example, dark gray is something like 30 30 30 and light gray is 75 75
75. Have a look at the grayscale.spk palette file in your ferret
installation (probably somewhere like /bin/ferret/ppl/) for more
inspiration and play around 'til you get what you want.

Hope this helps,

Paul





On Fri, 2006-12-15 at 20:59, jimmyc@iastate.edu wrote:

Hi All-
I need to make a color plot gray.

My values cross 0 and are NOT symmetric.
Is there a way to specify a grayscale such that the grays are skewed:
1. for the positive values go light to medium gray
2. for the negative values go medium to light
all in one palette?
Thanks for any advice.

--
James Correia Jr.
Ph.D. Candidate in Agricultural Meteorology
Former President: ISU Graduate Meteorology Club
Dept. of Agronomy, Iowa State University
*********************************************
Email: jimmyc@iastate.edu
Phone: 515-294-9870
Web: http://bruce.agron.iastate.edu/jimmyc/
ISU GMC: http://www.stuorg.iastate.edu/gmc/
*********************************************
"There is a difference between knowing the path and walking the path"
-"Morpheus"

"Wisdom. Strength. Courage. Generosity. Each of us are born with one of
these. We must find the other three inside of us."
from "Into the West"

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement