Re: Plotting a 3D Array In IDL [message #25777] |
Tue, 17 July 2001 17:53  |
david[2]
Messages: 100 Registered: June 2001
|
Senior Member |
|
|
K. Banerjee writes:
> Say I have a 3D array whose elements are only 1 or 0. I'd like to plot
> this array, say a white dot for the 1's and a red dot for the 0's. Is there
> a way I can do this in IDL?
>
> (I'm fairly new to IDL and thre's probably a straight forward
> way to do this!)
In my experience when a new user asks a
question for which he expects a straight-forward
response, there is about a one in ten chance
one exists. I'm afraid you are not that lucky. :-(
There are ways to do this in IDL alright. But
none (I don't think) that can be explained
adequately in a newsgroup article. Perhaps one
of the brethren with time on his hands could
code up an example. Preferably one using tiny
spheres as the points. :-)
How many points did you say this array had?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: Plotting a 3D Array In IDL [message #25856 is a reply to message #25777] |
Wed, 18 July 2001 17:23  |
K. Banerjee
Messages: 4 Registered: July 2001
|
Junior Member |
|
|
> How many points did you say this array had?
Between 3,000 and 4,000.
David Fanning <david@dfanning.com> wrote:
> K. Banerjee writes:
>
>> Say I have a 3D array whose elements are only 1 or 0. I'd like to plot
>> this array, say a white dot for the 1's and a red dot for the 0's. Is there
>> a way I can do this in IDL?
>>
>> (I'm fairly new to IDL and thre's probably a straight forward
>> way to do this!)
> In my experience when a new user asks a
> question for which he expects a straight-forward
> response, there is about a one in ten chance
> one exists. I'm afraid you are not that lucky. :-(
> There are ways to do this in IDL alright. But
> none (I don't think) that can be explained
> adequately in a newsgroup article. Perhaps one
> of the brethren with time on his hands could
> code up an example. Preferably one using tiny
> spheres as the points. :-)
> Cheers,
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|