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

Home » Public Forums » archive » how to revert to 8-bit 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 to revert to 8-bit color? [message #8447 is a reply to message #8353] Tue, 04 March 1997 00:00 Go to previous message
Phil Williams is currently offline  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/
/*********************************************************** ********/
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Prony IDL Routine
Next Topic: Re: The intersection of 2 arrays - where_ar.pro [1/1]

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

Current Time: Sat Oct 11 12:31:16 PDT 2025

Total time taken to generate the page: 0.88084 seconds