Help! Color tables - decomposed=0? [message #14823] |
Fri, 26 March 1999 00:00 |
Med Bennett
Messages: 109 Registered: April 1997
|
Senior Member |
|
|
I'm using IDL 5.0.2 on a Win98 platform. My graphics adapter is running
in 16-bit (65536 color) mode. Despite much experimentation and perusal
of Dave Fanning's excellent web site, I cannot get the colors to come
out correctly. I have set decomposed=0 and loaded the rainbow color
table (#13). If I plot data points with the plots command and a color
index array, the colors still come out in a black to red continuum, but
if I issue a command like
tv,congrid(indgen(16,16),160,160)
I see that the colors work as expected for the tv command. I get an
image showing the rainbow spectrum of colors, as I would like for plots
commands. How can I make the plots command honor the color table?
> IDL> help,/dev
> Available graphics_devices: CGM HP NULL PCL PRINTER PS WIN Z
> Current graphics device: WIN
> Screen Resolution: 1280x1024
> Simultaneously displayable colors: 65536
> System colors reserved by Windows: 0
> IDL Color Table Entries: 256
> NOTE: this is a TrueColor device
> NOT using Decomposed color
> Graphics Function: 3 (copy)
> Current Font: System
> Default Backing Store: None.
> Window Status: (ID: Type(x, y, backing store))
> 0: Window ( 640, 762, Pixmap)
>
Thanks in advance for any advice -
Med Bennett
|
|
|