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

Home » Public Forums » archive » Re: How can I plot in color?
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 can I plot in color? [message #33435] Sun, 05 January 2003 13:41
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Holger Boehm (boehmholger@hotmail.com) writes:
>
> I�m using IDL5.4 under a Windows98 environment. I would like to use
> colors for plotting different curves. The command "LOADCT, ..."
> doesn't seem to work.
> All plots still appear in B/W.
>
> If you know how to do the trick, please let me know.

Here is the trick:

IDL> Device, Decomposed=0

But, if you don't want to have to worry about this,
choose your colors in a device-independent way with
FSC_Color.

Plot, findgen(11), Color=fsc_color('yellow', $
Background=fsc_color('charcoal')

You can find more about this here:

http://www.dfanning.com/documents/programs.html#fsc_color

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Previous Topic: How can I plot in color?
Next Topic: problem inverting matrix

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

Current Time: Sat Oct 11 02:45:21 PDT 2025

Total time taken to generate the page: 0.32176 seconds