Re: display an array using color table [message #66909] |
Thu, 18 June 2009 11:20 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
Hu wrote:
> Hi, there
>
> I got an 2-D array (m * n), and want to display it by using a color
> table (for example, No.11),
> what functions should I take ?
>
> Thanks.
Start with:
IDL> device, decomposed=0
IDL> loadct, 11
IDL> tv, image ; or whatever you m by n array is
Next, buy a good book.
Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
|
|
|
Re: display an array using color table [message #66910 is a reply to message #66909] |
Thu, 18 June 2009 11:15  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Hu writes:
> I got an 2-D array (m * n), and want to display it by using a color
> table (for example, No.11),
> what functions should I take ?
I think I would start by opening the IDL on-line help:
IDL> ?
Cheers,
David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|