Re: Colour tables in linux (and default setting of retain) [message #40909] |
Thu, 09 September 2004 02:30  |
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!
|
|
|