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

Home » Public Forums » archive » Re: Color tables in idl5.5
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: Color tables in idl5.5 [message #28289 is a reply to message #28287] Fri, 30 November 2001 02:01 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
Alan Barnett wrote:

>
> I run idl on a LINUX box that supports 24 bit color. The image should
> consist of vertical bands of color, greys from black to white on the
> left, blue, green, yellow and red on the right with several narrow
> bands of various colors and a broad band of black in between. The
> colors are correct when run under idl 5.3, although I do get the error
> message
>
> % Unsupported X Windows visual (class: PseudoColor, depth: 8).
> Substituting default (class: TrueColor, Depth: 24).
>

The reason you get this error is that your graphics card, in common with
the vast majority, is only capable of providing a single visual class at
any one time. With your current visual set to 24 bits, the card is
incapable of providing you with the requested 8 bit visual.

If you are getting the correct colours with the 24 bit visual, can't you
just remove the request for the 8 bit visual to get rid of the error
message?

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Color tables in idl5.5
Next Topic: IDL on FreeBSD

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

Current Time: Sun Oct 12 05:11:26 PDT 2025

Total time taken to generate the page: 0.88242 seconds