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

Home » Public Forums » archive » Re: How to add modified color tables to IDL 7.1
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: How to add modified color tables to IDL 7.1 [message #79612 is a reply to message #79611] Tue, 20 March 2012 06:59 Go to previous messageGo to previous message
David López is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Convert from raster to PNG
Next Topic: New color palette

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

Current Time: Fri Oct 10 20:49:24 PDT 2025

Total time taken to generate the page: 1.36222 seconds