| Re: help on color tables [message #15882] |
Mon, 21 June 1999 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Michael G. Hoffberg (hoffbemg@directray.com) writes:
> Can someone email me some code that shows how to use the color tables.
>
> When I load a color table, the plots that I generate for the screen do
> not seem to have the same colors.
>
> Is this a limitation of the number of colors that my dispay is setup
> for? Am I not using the color table that I have just defined?
>
> This is very frustrating.
Don't you know!
I'm going to guess that Device, Decomposed=0 will fix you up. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
|
| Re: help on color tables [message #15885 is a reply to message #15882] |
Mon, 21 June 1999 00:00  |
Liam Gumley
Messages: 473 Registered: November 1994
|
Senior Member |
|
|
"Michael G. Hoffberg" wrote:
> Can someone email me some code that shows how to use the color tables.
> When I load a color table, the plots that I generate for the screen do
> not seem to have the same colors.
> Is this a limitation of the number of colors that my dispay is setup
> for? Am I not using the color table that I have just defined?
> This is very frustrating.
Mike, give this a try:
(1) Download the procedures COLORS and COLORSET from
http://cimss.ssec.wisc.edu/~gumley/colortools.html
(2) Close any existing IDL sessions, then start a new IDL session and
type
colorset
colors
(3) Create a magenta on white plot with the command
plot, indgen(10), color=1, background=7
See the documentation for COLORS for the color assignments. If this does
not work, let me know.
Cheers,
Liam.
--
Liam E. Gumley
Space Science and Engineering Center, UW-Madison
http://cimss.ssec.wisc.edu/~gumley
|
|
|
|