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

Home » Public Forums » archive » Current color table
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: Current color table [message #91541 is a reply to message #91486] Sun, 26 July 2015 12:19 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
a146397258@gmail.com writes:

> When the user clicks a button, the program executes xloadct, allowing them to then select and/or modify a color table. I would like to have a small piece of text below the button that indicates the currently loaded color table. Where would the current color table index and its name be stored? I can't find it anywhere. I also need the table number to preserve the current color table, as the script executes a color plot, and then a different plot which must be black and
white. In between runs I don't want the user to have to reselect the color table, but unfortunately it is reverted to black and white to properly generate the second plot. There's probably something simple I am missing...

Yes, cgLoadCT.

http://www.idlcoyote.com/idldoc/cg/cgloadct.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: External development: Populating a complex array in C
Next Topic: HELP adding arrays

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

Current Time: Wed Oct 08 17:56:34 PDT 2025

Total time taken to generate the page: 0.00190 seconds