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

Home » Public Forums » archive » Re: self made 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: self made color tables [message #40954] Tue, 21 September 2004 06:30 Go to previous message
Chris Lee is currently offline  Chris Lee
Messages: 101
Registered: August 2003
Senior Member
In article <b3eff7b0.0409210059.3ee72e0a@posting.google.com>, "michele"
<gnarloo@libero.it> wrote:


> i know modifyct but the problem is always there: you have to type in
> manually all the triplets. if i have to type in the triplets,
> i can do that: i write a text file with the triplets, read them and load
> em with tvlct and i also avoid the problem of updating or writing a new
> tlb file...
> i simply expect xpalette to have a button with SAVE and then i type in a
> color table number, say 41, and then i load it with loadct... the
> problem is that typing the triplets in is time consuming... or , another
> way to solve the problem, is there a way to get the triplets
> automatically from xpalette to be used in modifyct?

TVLCT, R, G, B, /GET

will load the RGB triplets into the R,G and B variables, which you can
then write to a file if you want (if you don't want to make a new color
table file), no typing needed (well, some).

You can't load color table 41 from the default file(it's my default file to...), but you can
use modifyct to make a brand new color table file, and use loadct to
read table 41 from that, if you want 1..39 as the default, then copy the 39 color tables
from the old color table to the new one.

Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Function compiles, but get message as if it's not
Next Topic: Re: Opening a new window

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

Current Time: Sat Oct 11 15:08:23 PDT 2025

Total time taken to generate the page: 0.54187 seconds