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 #29845 is a reply to message #29843] Thu, 21 March 2002 06:14 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt (craigmnet@cow.physics.wisc.edu) writes:

> 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.

There used to be undocumented Get_X_ID and Set_X_ID keywords
for the DEVICE and WINDOW commands that would allow you to
export and share X window drawables (and their associated
colortables) with other programs. This was one way to
circumvent the limitations of an 8-bit graphics card. I see
that by IDL 5.4 these keywords have been removed. Probably
because they don't seem necessary in a 24-bit world.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[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: Fri Oct 10 10:32:13 PDT 2025

Total time taken to generate the page: 0.48151 seconds