Re: how to revert to 8-bit color? [message #8447 is a reply to message #8353] |
Tue, 04 March 1997 00:00  |
Phil Williams
Messages: 78 Registered: April 1996
|
Member |
|
|
Mark Fardal wrote:
>
> Hi,
>
> I tried using IDL on the spiffy new Sun Ultra-1 here. All is fine,
> except IDL insists on using 24-bit color for the plotting window,
> and since I depend on a particular color table this is quite annoying.
> I stuck
> idl.gr_visual: PseudoColor
> in my .Xdefaults, and also issued the command
> device,pseudo_color = 8
> before creating a window. Neverthelsess, help,/device shows
> Display Depth, Size: 24 bits, (1280,1024)
> Visual Class: DirectColor (5)
> Bits Per RGB: 8
> Physical Color Map Entries (Used / Total): 256 / 256
> Colormap: Private, 16777216 colors. Translation table: Bypassed
> plus other stuff. And yes, 8-bit color is supported on this display
> according to xdpyinfo.
>
> What am I doing wrong?
>
Are your .Xdefaults getting loaded?
At the UNIX prompt try
unix% xrdb -query
to see if they made it into the db. If not then merge them into the db
by
unix% xrdb -merge ~/.Xdefaults
Good luck,
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
|
|
|