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

Home » Public Forums » archive » Re: display an array using 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
Re: display an array using color table [message #66909] Thu, 18 June 2009 11:20
Michael Galloy is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: display an array using color table
Next Topic: Linux installation problems..

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

Current Time: Wed Oct 08 15:28:32 PDT 2025

Total time taken to generate the page: 0.00373 seconds