Re: Ouestion about Ploting?
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg1067] Re: Ouestion about Ploting?
- From: rubin at msu.edu (Paul A. Rubin)
- Date: Fri, 12 May 1995 16:30:56 -0400
- Organization: Michigan State University
In article <3oluo6$ql4 at news0.cybernetics.net>,
Mark Brennan <bread at maths.tcd.ie> wrote:
->I was wondering how to plot 3D data with coordinates (x,y,z).
->ListPlot3D only plots the height values z using it's own (x,y).
->Thanks in advance.
->
->MARK>
You can use Graphics3D and the Point primitive:
data = Table[ {Random[], Random[], Random[]}, {10} ];
(* 10 random points *)
Show[ Graphics3D[ Point /@ data, Axes->True ] ];
Paul
**************************************************************************
* Paul A. Rubin Phone: (517) 432-3509 *
* Department of Management Fax: (517) 432-1111 *
* Eli Broad Graduate School of Management Net: RUBIN at MSU.EDU *
* Michigan State University *
* East Lansing, MI 48824-1122 (USA) *
**************************************************************************
Mathematicians are like Frenchmen: whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different. J. W. v. GOETHE