MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Ouestion about Ploting?


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


  • Prev by Date: Re: Few MMA questions - need some help!
  • Next by Date: Function with attributes Flat and OneIdentity
  • Previous by thread: Ouestion about Ploting?
  • Next by thread: play to wav?