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

Home » Public Forums » archive » Image function: define new color table
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Image function: define new color table [message #84548] Thu, 06 June 2013 08:06
corinnefrey is currently offline  corinnefrey
Messages: 18
Registered: November 2006
Junior Member
Hi all

I am displaying an image:

im = IMAGE(data, RGB_TABLE = 70, MAX_VALUE = 20, MIN_VALUE = -20)

Now, I want to change the index 127 in RGB_TABLE 70 to white and do this in XPalette. I press the done button.

Then I use

TVLCT, red, green, blue, /GET

and

modifyct, 70, 'Blue and red',red,green,blue, FILE = 'd:\CMF\IDL\colors\colors1.tbl'

to save the modified color table to a file on a different location (I don't have permission to write to the original location).

When I now again display my image, it is not using the modified color table. What can I do, so that image() understands, that I want to use the new color table?

Thanks and best regards,
Corinne
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: new to IDL - question about modularity
Next Topic: Re: Image function: define new color table

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

Current Time: Wed Oct 08 14:01:37 PDT 2025

Total time taken to generate the page: 0.00735 seconds