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

Home » Public Forums » archive » Plotting 3D array as a 'cloud'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Plotting 3D array as a 'cloud' [message #78007 is a reply to message #77809] Sun, 09 October 2011 17:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Robin Wilson writes:

> I've got a 3D array in IDL that contains a model of a cloud - that is,
> each cell is either 0 (not cloud) or 1 (cloud). I'd like to plot this in
> a 3D way, so that it looks like a cloud. I'm not quite sure how else to
> describe it - but I'd like to be able to see the cloud as a 3D model -
> so it just looks like a cloud shaped 'blob' - if possible one that can
> be rotated.
>
> I'm not quite sure how to go about this. I don't want to do a surface
> plot - because I want all sides of the cloud not just the top surface. I
> guess some sort of 3D point plot would be ok, but I want to see the
> cloud as a solid blob, not as points with gaps between them.
>
> I'm a little confused by the range of IDL procedures which can be used
> to plot things like this, and am not really sure which is best to try
> and use.

I would try a 3D scatter plot first. Depending on how
many points you have, the code here might be pretty slow.
There might be some ways to speed it up, if we knew
more about the problem.

http://www.idlcoyote.com/tips/scatter3d.html

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: REFORM: new subscripts must not change the number elements in array
Next Topic: what is the highest subscript in the array?!?

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

Current Time: Sat Oct 11 02:37:10 PDT 2025

Total time taken to generate the page: 0.39839 seconds