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

Home » Public Forums » archive » Re: Colour tables in linux (and default setting of retain)
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: Colour tables in linux (and default setting of retain) [message #40909] Thu, 09 September 2004 02:30 Go to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Paolo Grigis <pgrigis@astro.phys.ethz.ch> wrote:
> wmc@bas.ac.uk wrote:
>> { x86 linux unix linux 6.0.3 Feb 26 2004 32 64}
>>
>> I have a problem with colour tables... I've set my server to 8 bit. If I
>> use a "windowmaker" session, all is as it should be (I get a private
>> colour map and when I select the plot window I see the real colours).
>> However, if I have a gnome session then this doesn't work: I only get
>> to see the colours if I also open a widget draw window (eg xloadct) and
>> select the graphics area on that. This seems pretty weird to me: is there
>> a known answer?

> The same problem showed up in a linux machine with 24-bit X-server
> with "writable" colormaps (that is, directcolor) and was solved by
> using a "static" colormap instead (that is, truecolor).

> Now, this is just a guess, but in 8-bit, you could try to use
> staticcolor instead of the "writable" pseudocolor:

> device,static_color=8
> help,/device

It works! Thanks. Has to be done before the first window is drawn though.

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.antarctica.ac.uk/met/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
I'm a .signature virus! copy me into your .signature file & help me spread!
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL CONTOUR Questions
Next Topic: Re: event_pro for compound widgets -- fsc_field issues and handler field

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

Current Time: Thu Oct 09 07:53:50 PDT 2025

Total time taken to generate the page: 0.71734 seconds