Re: Colour table, multiple sessions [message #29846 is a reply to message #29845] |
Thu, 21 March 2002 05:25   |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
Greetings--
As Reimar points out, you probably have an 8-bit (pseudo-color)
display. If that is true, then you are running into a basic
limitation of your display rather than IDL. For example, Netscape, xv
(if you are doing Unix), will be starved for colors too, after one
instance of IDL is started.
One saving possibility is for each IDL session to reserve a fraction
of the available colors. Usually, you would do this in a call to
WINDOW with the COLORS keyword. For example, WINDOW, COLORS=100. The
first time around that should leave about another 100 colors available
for the second invocation of IDL, or any other color-hungry
application.
To get around this further you will need a new graphics mode for your
screen (could be as simple as selecting it). 24-bit is the best
supported by IDL.
Craig
the_cacc@hotmail.com (trouble) writes:
> Yo,
>
> When I open 2 IDL sessions on the same workstation and open a window,
> the colours in the the 2nd window are screwed and the screen flicks
> into "reverse video"(?) [ie. black->white, white->black] when passing
> the mouse over it. Is there a remedy? I played with DEVICE for a while
> but after multiple crashes, concluded that didn't know what I was
> doing... (oh really?)
>
> I was wondering if anyone has a quick fix, something to put in
> IDL_STARTUP maybe?
>
> Currently on Unix Tru64, IDL 5.4.
>
> Ciao.
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|