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

Home » Public Forums » archive » Re: Colour table, multiple sessions
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: Colour table, multiple sessions [message #29846 is a reply to message #29845] Thu, 21 March 2002 05:25 Go to previous messageGo to previous message
Craig Markwardt is currently offline  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
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multithreading
Next Topic: color flashing on one of identical(?NOT) suns

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

Current Time: Wed Oct 08 19:59:38 PDT 2025

Total time taken to generate the page: 0.00438 seconds