Re: Plot and manipulate a long list of X,Y,Z data in Mathematica 6.01
- To: mathgroup at smc.vnet.net
- Subject: [mg82529] Re: Plot and manipulate a long list of X,Y,Z data in Mathematica 6.01
- From: Januk <ggroup at sarj.ca>
- Date: Wed, 24 Oct 2007 04:20:07 -0400 (EDT)
- References: <email@example.com>
On Oct 23, 5:26 am, pixelpounder <b_hal... at sbcglobal.net> wrote:
> I have long lists of XYZ data that I wish to plot and manipulate in
> Mathematica. Most of the data is in tab delimited text format and my
> specific data is beneath a 15 line header and after 6 columns of data
> in the text file.
> What function can be used import the data in the proper format to plot
> in 3D, and which function should be used to plot this data?
> Mathematica seems to favor 2D data plots or 3D function plots but has
> very little info on 3D plotting in the help files.
Use Import. Your code could be something like:
rawdata = Import[ "data_file.dat", "Table" ];
xyzdata = Drop[ rawdata, 15 ];
ListPlot3D[ xyzdata, PlotRange->All ]
Prev by Date:
Re: What am I doing wrong with this code?
Next by Date:
Extracting solutions from Solve
Previous by thread:
Plot and manipulate a long list of X,Y,Z data in Mathematica 6.01
Next by thread:
What am I doing wrong with this code?