|Welcome to the Monastery|
A hierarchy of color (intensity)?by BrowserUk (Pope)
|on Nov 22, 2005 at 06:24 UTC||Need Help??|
BrowserUk has asked for the
wisdom of the Perl Monks concerning the following question:
I want to represent a range of numerical values (approx: 0 -> 1000) using colors such that there is an visually obvious gradient between low and high values, with similar values being visually similar. Kind of like astronomers use to show differences and similarities on IR or UV photographs.
Should I use a lookup table (and is there one available)?
Or can I get away with a formula to map them (and does anyone know such a formula)?
Update: I finally found a reference for what astronomers use--it's call a Color Ramp, and there is a standard one.
I've translated this into Perl as:
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.