Re: How to add modified color tables to IDL 7.1 [message #79613 is a reply to message #79612] |
Tue, 20 March 2012 02:14   |
Fabzi
Messages: 305 Registered: July 2010
|
Senior Member |
|
|
On 03/19/2012 09:27 PM, David L�pez wrote:
> On Mar 16, 1:29 pm, Fabien<fabien.mauss...@gmail.com> wrote:
>> On 03/16/2012 05:25 PM, David L�pez wrote:
>>
>>
>>
>>> Hi Andrew
>>> Thanks a lot... but make a mistake!!!!!
>>> but my result was copied rainbow palette number 13 to number 41 but
>>> both remain in grayscale.
>>> my command was!!!
>>
>>> IDL> TVLCT, r, g, b, /Get
>>> IDL> ModifyCT, 13, 'Rainbow', r, g, b
>>
>> Well at this point it happened what people told you to be careful
>> about... You overwrote the IDL rainbow colortable with the IDL grayscale
>> colortable.
>
> Hello Again...
> I can create new file rainbow in the palette
> but I can not save changes change when I modified with xpalette...
> my commands was!!
>
>
> IDL> TVLCT, r, g, b, /Get
> IDL> ModifyCT, 41, 'Rainbow'
> IDL> XPALETTE for modify colors.....
>
> Regards
>
Hi,
IDL> loadct, 13 ; The colors are loaded internaly
IDL> XPALETTE ; Modify colors as you want them
IDL> TVLCT, r, g, b, /Get ; Get the modified colors as r g b triple
IDL> MODIFYCT, 51, "MyRainbow", r, g, b ; Save them in IDL
|
|
|