MathGroup Archive 2001

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

Search the Archive

Re: importing 3D list of data


Mosa Chaisi <chaisim at nu.ac.za> wrote in message
news:9dqe8e$4k8 at smc.vnet.net...
> Hi all!
>
> I'm trying to import a surface into Mathematica 4.0, that is (x, y,
f(x,y)),
> and the best I found in help is Import["filename.ext","Table"] which
imports
> a 2D table of data. Any ideas someone? Thanx....
>


Even though your data represents a 3D geometrical surface, if the data in
"filename" is in the form,

x1  y1  f1
x2  y2  f2
...
...


then Import["filename.ext","Table"] will give you a 2D list of the form. of
the form { {x1,y1,f1}, {x2,y2 ,f2}, ...} which is exactly what you need for
ListSurfacePlot3D  located in the package Graphics'Graphics3D.


Cheers,
     Bill






  • Prev by Date: multiple ImplicitPlot
  • Next by Date: Re: Plotting different function with different Plotstyle in one graph
  • Previous by thread: importing 3D list of data
  • Next by thread: Plotting different function with different Plotstyle in one graph