Re: Color problems with 5.5/RH linux 7.1 [message #27814] |
Wed, 07 November 2001 02:31 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Pete Riley wrote:
>
> Hi all,
>
> Is anyone having problems with IDL 5.5 under RH linux 7.1 and colors.
> Even invoking XLOADCT shows a messed up color table and DIST(200,200) has
> vertical lines through it.
> I understood that all color depths were supported in 5.5. In the beta
> version I still had to use the DEVICE, PSEUDO,DECOMPOSED trick, but that
> doesn't even work for me now.
>
> Cheers, Pete
Dear Pete,
I believe this will work for you too.
it is tested for 16bit and 24bit color depth with Suse7.3.
(include into your startup file these lines)
if strlowcase(!version.os) eq 'linux' then device,
get_visual_depth=depth
if strlowcase(!version.os) eq 'linux' then device, true_color=depth
if strlowcase(!version.os) eq 'linux' then window, /free, /pixmap,
colors=-10
if strlowcase(!version.os) eq 'linux' then wdelete, !d.window
if strlowcase(!version.os) eq 'linux' then device, decomposed=0,
retain=2
regards
Reimar
--
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml
http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======
read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
|
|
|
|