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

Home » Public Forums » archive » Re: Plotting a 3D Array In IDL
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: Plotting a 3D Array In IDL [message #25777] Tue, 17 July 2001 17:53 Go to next message
david[2] is currently offline  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 Go to previous message
K. Banerjee is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Variable name to string
Next Topic: Re: HDF, netCDF, etc question

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

Current Time: Wed Oct 08 11:36:58 PDT 2025

Total time taken to generate the page: 0.00546 seconds