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

Home » Public Forums » archive » Re: New color palette
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: New color palette [message #79603 is a reply to message #79602] Wed, 21 March 2012 11:03 Go to previous messageGo to previous message
KH is currently offline  KH
Messages: 9
Registered: August 2011
Junior Member
On Mar 20, 4:33 pm, David Fanning <n...@idlcoyote.com> wrote:
> KH writes:
>> I am looking for a cyan to blue to white to red to yellow color
>> palette similar to the one here:
>> http://www-meom.hmg.inpg.fr/Web/pages-perso/brankart/Ferret_ scripts/w....
>
>> Specifically I am looking for a 256 version of the white_centered.spk
>> palette from Ferret.  It is my understanding that Ferret interpolates
>> the colors from the following:
>> 0     0  100  100
>> 20   20   20  100
>> 35  100  100  100
>> 65  100  100  100
>> 80  100   20   20
>> 100 100  100    0
>> I believe the first column is the percentage value, but I am just not
>> sure how to use on 6 RGB values to get a full color palette I can use
>> in IDL.
>
>> Any assistance would be greatly appreciated.
>
> You would do it like this:
>
> http://www.idlcoyote.com/color_tips/create_colortable.html
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")- Hide quoted text -
>
> - Show quoted text -

Thank you David, this is very useful.
Kim
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Replicate array over columns - using transpose?
Next Topic: Bug(s) in debugger? Breakpoint stepping for nested HASH's.

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

Current Time: Fri Oct 10 09:19:50 PDT 2025

Total time taken to generate the page: 1.04276 seconds