comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Diverging Brewer Color Tables Fixed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Diverging Brewer Color Tables Fixed [message #60341] Mon, 19 May 2008 09:37
David Fanning is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to HIDE a WIDGET_BUTTON and dont hide the widget hierarchy ?
Next Topic: IDL programmer needed

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:14:25 PDT 2025

Total time taken to generate the page: 0.00582 seconds