reading and plotting datas (x,y,z) three-dimensional ???
- To: mathgroup at smc.vnet.net
- Subject: [mg21276] reading and plotting datas (x,y,z) three-dimensional ???
- From: "Bissinger" <bissinger at az-online.net>
- Date: Tue, 21 Dec 1999 03:46:56 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hi out there, I have a problem in reading and plotting datas discribed by {x,y,z}. e.g. there ist a list of datas x, y, z on a disk a:\ ....-30.00,30.00,0-25.00,30.00,0-20.00,30.00,0-15.00,30.00,0-10.00,30.00,0-5. 00,30.00,00.00,30.00,6.012905.00,30.00,010.00,30.00,015.00,30.00,020.00,30.0 0,025.00,30.00,030.00,30.00,0-30.00,25.00,0-25.00,25.00,0-20.00,25.00,0-15.0 0,25.05, ... now I`d like to read these datas in a list, called e.g. Liste={{x,y,z),{x,y,z},...}; finally I`d like to draw a 3DPlot. My problem is: I read these datas like this; In[1]:= Asti="A:\\Zdaten.txt" OpenRead[Asti] In[2]:=Do[xyz=ToExpression[Read[Asti,Word]]; Daten=Print[xyz],{n,0,168}] Out[2]:={-30.,30.,0} {-25.,30.,0} and so on ... This no list or table I can work with - can you possibly tell me how I can get a list or a table that looks like ... Liste ={{-30,30,0},{-25,30,0},{x,y,z},...} Is there any command that makes a 3DPlot with this kind of data {x,y,z} - or is there an other way to plot it 3-dimensional? - I have problems in using the command "ListPlot3D". My "dream" is to get a 3-dimensional SurfacePlot that shows me the surface - not only the points. Hope you can help me, Martin