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

Home » Public Forums » archive » How to create a colour table in IDL?
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: How to create a colour table in IDL? [message #90003 is a reply to message #90002] Wed, 14 January 2015 09:39 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Madhavan Bomidi writes:

> I have seen online links but I could not understand how to extract specific colours from /BREWER colour table similar to the colorbar shown at http://latticeextra.r-forge.r-project.org/#horizonplot
>
> I require to extract 6 colours from /BREWER colour table to represent the contrast in the figure. How can I know the colour indices or colour names in /BREWER colour table? May be my terminology is wrong!!!
>
> Can you please suggest me how I can do this?

cgLoadCT, 22, /Brewer, NCOLORS=6

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When with the Linux version switch from Motif's to a modern toolkit?
Next Topic: Colors for the Color Blind

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

Current Time: Wed Oct 08 11:35:55 PDT 2025

Total time taken to generate the page: 0.00496 seconds