Re: Diverging Brewer Color Tables Fixed [message #60341] |
Mon, 19 May 2008 09:37 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> There were a couple of problems with the Brewer color table
> file I produced last week (which I had just copied from
> Mike Galloy's implementation). In particular, the diverging
> color tables didn't diverge exactly in the middle of the
> scale. There was also some kind of problem on the high end
> of the color table, such that if you reduced the color table
> to, say, 16 colors then color 15 and 16 were indistinguishable.
>
> I've fixed both of these problems in a new color table file:
>
> http://www.dfanning.com/programs/fsc_brewer.tbl
If you are interested in seeing what some of these color
tables look like, you can see a representative sample
of the 27 color tables (all reduced to 16 colors) in
this article:
http://www.dfanning.com/color_tips/brewer.html
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: Diverging Brewer Color Tables Fixed [message #60344 is a reply to message #60341] |
Mon, 19 May 2008 07:40  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> In two-color diverging color tables, one color now goes
> from 0 to 127, the second color goes from 128 to 255.
> You can see this best if you load 16 colors:
>
> IDL> CTLoad, 0
> IDL> CTLoad, /Brewer, 19, NCOLORS=16
> IDL> CIndex
An easier way to see the color differentiations might
be like this:
IDL> XColors, /Brewer, NCOLORS=16
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|