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

Home » Public Forums » archive » FLASH - Colors Update
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
FLASH - Colors Update [message #17242] Sat, 18 September 1999 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Folks,

Speaking of having your cake and eating it too,
I just learned what may be the secret for having
24-bit color AND having the colors in your IDL
graphics windows automatically updated when you
change color tables.

This will work ONLY for those machines (e.g., UNIX)
which support a DirectColor visual class. Set the
BYPASS keyword on the DEVICE command to 0, like this:

DEVICE, DIRECT_COLOR=24, BYPASS=0

I can't try this on my machines, but the person who
passed this tip along to me was pretty sure it would
work. Make sure you do this before you open any
graphics windows in your IDL session.

I'd appreciate knowing if it works for you.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@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
Previous Topic: ODEPACK
Next Topic: Integration of IDL with Windows Applications ?

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

Current Time: Sat Oct 11 10:29:14 PDT 2025

Total time taken to generate the page: 0.80127 seconds