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

Home » Public Forums » archive » Re: Idl.colors
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: Idl.colors [message #8589] Fri, 28 March 1997 00:00
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
Phil Williams wrote:
>
> I thought that the line
> Idl.colors: -5
>
> in my Xdefaults would tell IDL to use all but 5 of the available colors
> (assuming xrdb -merge .Xdefaults).
>
> Now when I try to do this I get the following error:
>
> IDL> window
> % WINDOW: X Windows resource "Idl.colors" has invalid value: -5 .
>

I just did a quick check of the docs, and it doesn't explicitly say
that you can do this (please correct me if I'm wrong). It does say
that you can use the COLORS=-5 keyword to the WINDOW routine.
In any case, I believe that this DOES work in the .Xdefaults file.
We have this entry in our /usr/openwin/lib/Xdefaults file (Solaris 2.X):

Idl*visual: PseudoColor
Idl*colors: -5

that works for IDL versions 4.0.1 and 5.0B5 . Worth a try?

"I will get by..." The Grateful Dead (great quote in your .sig Phil)

Dave

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2200
La Jolla, CA 92037
[ UCSD Mail Code 0949 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: SHADE_SURF and hiding axes
Next Topic: ENVI: ROI to ASCII conversion

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

Current Time: Wed Oct 08 13:40:33 PDT 2025

Total time taken to generate the page: 0.00489 seconds