Re: NewBie question Plot Table of points from a data file

*To*: mathgroup at smc.vnet.net*Subject*: [mg53308] Re: NewBie question Plot Table of points from a data file*From*: "Scout" <user at domain.com>*Date*: Wed, 5 Jan 2005 01:21:31 -0500 (EST)*References*: <crdkgp$qu0$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

"jfj" <jf.jouvet at opales.fr> ha scritto nel messaggio news:crdkgp$qu0$1 at smc.vnet.net... > Hello, > I want to plot a file of data (x, y, z coordinate on each line of an > ascii file) > I can read values with: > pts = ReadList["myfile.dat", Table[Number, {3}]] > but How display it > Show[Graphics3D[pts]] give me error > How access to my Table pts? > How compute for instance pts[1,1] + pts[2,1] ? > Thanks in advance for your help > t=Import ["filename.ext", "Table"]; This imports data in the table t t[[i]] gives you the i-th element (point) of the list t. Show[Graphics3D[Point /@ t ]]; This plots all points in 3D space. I hope that helps you. ~Scout~