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

Home » Public Forums » archive » Re: Linux Colour Display problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Linux Colour Display problems [message #37395] Mon, 15 December 2003 02:08 Go to next message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
We had the same problem with 5.5 on linux.
Try using truecolor instead of directcolor
visuals:

device,true_color=24

It solved the problem for us...

Cheers,
Paolo

"Karthikayan B." wrote:
>
> Hello All,
> I am running IDL 5.5 on Debian Linux system (Kernel 2.4.22-1-686)
> and when I have a display window, moving the mouse over the IDL
> display window makes the entire screen change colours.
> These are the first few lines of the programme which call the
> colour table:
>
> device, decomposed = 0, retain = 2
> loadct, 13
> ...
> tvscl,array
>
> IDL> device,get_visual_depth=a
> IDL> print,a
> 24
>
> Thanks,
> KB.

--
____________________________________________________________ ________

Paolo Grigis
ETHZ - Institute of Astronomy email: pgrigis@astro.phys.ethz.ch
Scheuchzerstrasse 7
ETH Zentrum phone: ++41 1 632 42 20
8092 Zurich fax : ++41 1 632 12 05
Switzerland http://www.astro.phys.ethz.ch/
____________________________________________________________ ________
Re: Linux Colour Display problems [message #37465 is a reply to message #37395] Tue, 16 December 2003 12:48 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> Try using truecolor instead of directcolor
> visuals:
>
> device,true_color=24
>
> It solved the problem for us...

The above command is best for portability, but you can achieve the same
thing by adding the following lines to your ~/.Xdefaults file or to the
system wide $RSI_DIR/idl/resource/X11/lib/app-defaults/Idl file.

Idl.gr_visual: TrueColor
Idl.gr_depth: 24

There are some more details here:
http://www.rsinc.com/services/techtip.asp?ttid=1688

Mike W.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How large a matrix can be handled in IDL?
Next Topic: Re: is this a bug in IDL?

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

Current Time: Thu Oct 09 12:29:34 PDT 2025

Total time taken to generate the page: 0.32121 seconds