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

Home » Public Forums » archive » 3D Plot
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
3D Plot [message #23713] Thu, 08 February 2001 13:15 Go to next message
Mike Garrett is currently offline  Mike Garrett
Messages: 3
Registered: November 2000
Junior Member
Hey all,

I have been trying to create a 3D plot. I have a two dimensional array
that holds the z values. I just want to plot a point at that point in 3D
space, so if I have data(1,2) = 3 then i want to put a point at x = 1, y
=2 and z = 3. However, with the surface command a line is always drawn to
connect this point with other points. Is there another command I am not
familiar with or any other ideas?

Thanks

Mike
Re: 3D plot [message #32719 is a reply to message #23713] Thu, 07 November 2002 08:54 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Antonio (angaspx@yahoo.it) writes:

> I'm new to IDL and I'learning fundamental techniques.
> If I have a set of point with coordinates (x, y, z) how can I plot a
> 3D cube representing them?
> I have tried surface command, but it is just to plot function, I guess

I think maybe you are looking for a 3D scatter plot:

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

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@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: Re: Conditional averaging
Next Topic: Declaring constants

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

Current Time: Thu Dec 04 12:02:58 PST 2025

Total time taken to generate the page: 0.24265 seconds