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 #71542 is a reply to message #71541] Mon, 28 June 2010 08:43 Go to previous messageGo to previous message
zhangyehui is currently offline  zhangyehui
Messages: 4
Registered: May 2010
Junior Member
On Jun 28, 11:19 am, Paulo Penteado <pp.pente...@gmail.com> wrote:
> 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-colo...
>
> 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.

Many thanks.
I found some tables I want in the Brewer tables. ^O^
[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:55:54 PDT 2025

Total time taken to generate the page: 0.00521 seconds