Re: How can I plot a file of <x, y, z> points?
- To: mathgroup at smc.vnet.net
- Subject: [mg17350] Re: [mg17323] How can I plot a file of <x, y, z> points?
- From: BobHanlon at aol.com
- Date: Mon, 3 May 1999 01:45:54 -0400
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 5/1/99 9:51:34 AM, finton at nova10.cs.wisc.edu writes: >I'm trying to use Mathematica to make a 3D plot of some data. >The data comes in a file which has three numbers on each line, >each line representing the x, y, z coordinates of a point. > >Unfortunately, the only Mathematica commands I've been able to find >want my data to be a *matrix of heights*. A coworker showed me >a very complex method of finding the smallest x value and >then adding the correct number of 0's to the left and right >in order to position each z_xy at the correct xy location in >a grid. But come on! There has to be an easier way. Can anyone >help this novice Mathematica user see the light? > David, Using the standard add-on package Graphics`Graphics3D` take a look at ScatterPlot3D. Bob Hanlon