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

Home » Public Forums » archive » Re: special linux/idl problem
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: special linux/idl problem [message #24977] Thu, 10 May 2001 07:41 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Carsten Dominik wrote:
>
>>>> >> "RB" == Reimar Bauer <r.bauer@fz-juelich.de> writes:
>
> RB> Reimar Bauer wrote:
>>>
>>> Hi,
>>>
>>> I hope someone on this group know this problem and is able to help.
>>>
>>> On one of my linux system I got always a monochrome color output
>>> (grey scale) by idl. All other applications do have colors.
>>>
>>> I have three identical machines ( I believe ) and only one of them
>>> has this failure.
>
> This works for me, I got it from this group, but unfortunately I
> forgot who the original author was. Put the following text in a
> startup file, like .idlrc and set the environment IDL_STARTUP variable
> to point to that file:
>
> setenv IDL_STARTUP ~/.idlrc
>
> if !version.os_family eq 'unix' then device, true_color=24
> window, /free, /pixmap, colors=-10
> wdelete, !d.window
> device, decomposed=0, retain=2
> device, get_visual_depth=depth
> print, 'Display depth: ', depth
> print, 'Color table size: ', !d.table_size

The startup file shown is the one I use routinely on all my IDL
platforms. If you want to use 8-bit display mode on a UNIX box, the
first line becomes

if !version.os_family eq 'unix' then device, pseudo_color=8

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: does svdc work for complex data?
Next Topic: Re: Chopping up a string

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

Current Time: Wed Oct 08 17:37:16 PDT 2025

Total time taken to generate the page: 0.00456 seconds