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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Color problems with 5.5/RH linux 7.1 [message #27814] Wed, 07 November 2001 02:31
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
Re: Color problems with 5.5/RH linux 7.1 [message #27818 is a reply to message #27814] Tue, 06 November 2001 19:11 Go to previous message
Paul Woodford is currently offline  Paul Woodford
Messages: 43
Registered: June 2000
Member
In article <20011106.174913.1350573793.3891@sheba.saic.com>,
"Pete Riley" <uk2@email.com> wrote:

> Even invoking XLOADCT shows a messed up color table and DIST(200,200) has
> vertical lines through it.

Yes, I have seen this as well, both on Intel and Alpha. I have not yet
bothered to try to figure out what is happening; I've just reverted to
5.4.

Paul
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 15:12:58 PDT 2025

Total time taken to generate the page: 0.00499 seconds