Re: Interpolation of 3D data problem
- To: mathgroup at smc.vnet.net
- Subject: [mg16560] Re: Interpolation of 3D data problem
- From: Paul Abbott <paul at physics.uwa.edu.au>
- Date: Tue, 16 Mar 1999 04:00:28 -0500
- Organization: University of Western Australia
- References: <7c5bqk$7s5@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Jan Krupa wrote: > Could someone please explain what the message > ( The coordinates {3.53, <<3>>,<<20>>} in dimension 1 > are not consistent with other coordinates in this dimension.) > means? It means that your data does not lie on a rectangular grid in 3 dimensions. > What do the signs <<3>>,<<20>> mean? These indicate the number of terms omitted in this abbreviated (Skeleton) output (intended to give a feel for the overall structure of the expression). > Does the message message mean that some conditions required to do the > approximation in the way mathematica tries, are not fulfilled? Yes. Interpolation in D>=2 dimensions requires a rectangular grid in Version 3. > I have also try: > > In[3]:=ListInterpolation[d] This is not appropriate for your data. You can visualize the data using Show[Graphics3D[Point /@ d]]; or, alternatively, << DiscreteMath` TriangularSurfacePlot[d]; > What is the better (best) way to approximate the above data with > *smooth* surface (using mathematica3.0 )? Have a look at the triangular interpolation functionality which is included in the ExtendGraphics Packages available at http://www.mathsource.com/Content/Enhancements/Graphics/3D/0208-976 These files form a set of extended graphics functionality and are used and described in the book "Mathematica Graphics: Techniques and Applications" by Tom Wickham-Jones, published by TELOS/ Springer-Verlag 1994 ISBN 0-387-94047-2. They provide functions that include the plotting of surfaces and contours over random data sets, labelling of contour lines, plotting contours subject to a constraint, smoothing contours, plotting field lines, a collection of geometric functions in two and three dimensions, as well as the ubiquitous fractal plot. Some of the functions require MathLink binaries which are available in source code and are compiled for Macintosh and Windows computers. Cheers, Paul ____________________________________________________________________ Paul Abbott Phone: +61-8-9380-2734 Department of Physics Fax: +61-8-9380-1014 The University of Western Australia Nedlands WA 6907 mailto:paul at physics.uwa.edu.au AUSTRALIA http://www.physics.uwa.edu.au/~paul God IS a weakly left-handed dice player ____________________________________________________________________