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

Home » Public Forums » archive » Re: Saving Color Tables
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: Saving Color Tables [message #40864 is a reply to message #40863] Tue, 14 September 2004 11:18 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> On a similar note, how can you create a brand new color table file? I
> tried the obvious, setting the FILE keyword to a new file name and
> selecting an ITAB of 0(or 1 or 10 or 100) but that fails.
>
> Not a pressing issue, and the workaround was trivial (I already had a
> function that created the table so I simply create an instance of
> IDLgrPalette when the application starts) but I did find this annoying.
> Also, I am sure I could copy the built in color table file and then
> modify that but it really seems like I should be able to create a shiny
> new color table file... Is it possible?


I tried to do this very same thing a while back, but was met with the
same failure. Instead, I modified a copy of colors.tbl to include my
tables in index 41 and greater. This way I can use this single file for
all color tables and don't have to code up any kind of special case
scenario.

-Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Button Events question
Next Topic: least square error for a regression

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

Current Time: Sun Oct 12 13:19:25 PDT 2025

Total time taken to generate the page: 1.19892 seconds