Re: How can I plot in color? [message #33435] |
Sun, 05 January 2003 13:41 |
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
|
|
|