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

Home » Public Forums » archive » Re: Color problems with 5.5/RH linux 7.1
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 problems with 5.5/RH linux 7.1 [message #27814] Wed, 07 November 2001 02:31 Go to previous message
R.Bauer is currently offline  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
[Message index]
 
Read Message
Read Message
Previous Topic: Returning A Variable Length struct to IDL from C
Next Topic: IDL 5.4 label_date function

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

Current Time: Fri Oct 10 12:35:29 PDT 2025

Total time taken to generate the page: 1.28113 seconds