MathGroup Archive 2010

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

Search the Archive

3D graphing from text file?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108196] 3D graphing from text file?
  • From: cubsfan334 <cubsfan334 at gmail.com>
  • Date: Wed, 10 Mar 2010 01:46:00 -0500 (EST)

Hello,

I have a text file with the coordinates of a number of different
points, and I would like to plot them using the ListPointPlot3D
command.  My text file is arranged like this:

x1 *tab* y1 *tab* z1 *tab* x2 *tab* y2 *tab* z2 *tab* x3 etc, with
nothing but tabs in between.  Is it possible to have mathematica
automatically parse this file and insert brackets and commas in the
proper place, so the result would look like this:

{{x1, y1, z1}, {x2, y2, z2}, {x3, y3, z3}} etc?

Thank you very much,
cubsfan334


  • Prev by Date: Import data as vector (not two dimensional Table)
  • Next by Date: Re: Re: Why can't Mathematica tell when something is algebraically zero?
  • Previous by thread: Re: Import data as vector (not two dimensional Table)
  • Next by thread: Re: 3D graphing from text file?