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

Home » Public Forums » archive » Re: Continuous colorbar
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Continuous colorbar [message #71545 is a reply to message #71543] Mon, 28 June 2010 08:19 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Jun 28, 11:35 am, zhangyehui <zhangye...@gmail.com> wrote:
> I want to draw a contour map of correlation coefficients with
> continuous color. As R varies between [-1, 1], I'd like those are
> close to 0 shown in white color and those are close to 1(-1) with
> darker colors. I usually use loadct colorbars. There are 41 colorbars.
> But I can't find a colorbar with a white color in the middle. So I
> just wondered if there is anyway I can do that. Thanks in advance.

Some of the Brewer tables have white in the middle, going to saturated
colors on different hues on each side. See

http://michaelgalloy.com/2008/08/21/another-update-to-the-br ewer-color-table-file.html

You can always make your own table, it is just an array with the RGB,
HLS or HSV values for each index. The tricky part is deciding on how
to vary the colors along the table, which has an important effect on
how the resulting visualization is perceived.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: This procedure is resulting in errors...
Next Topic: triangels may be don't show the right value

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

Current Time: Wed Oct 08 17:28:54 PDT 2025

Total time taken to generate the page: 0.00449 seconds