Re: How to add modified color tables to IDL 7.1 [message #79612 is a reply to message #79611] |
Tue, 20 March 2012 06:59   |
David López
Messages: 6 Registered: March 2012
|
Junior Member |
|
|
On Mar 20, 5:14 am, Fabien <fabien.mauss...@gmail.com> wrote:
> 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
Hello Fabien
You are my hero....
wonderful........runing...my new palette Rainbow..... is a correct
commands...
Thanks a lot
|
|
|