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
how to revert to 8-bit color? [message #8353] Mon, 03 March 1997 00:00 Go to previous message
Mark Fardal is currently offline  Mark Fardal
Messages: 51
Registered: October 1995
Member
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?

Thanks,
Mark Fardal
University of Colorado
[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: Wed Oct 08 15:22:56 PDT 2025

Total time taken to generate the page: 0.00467 seconds