MathGroup Archive 1998

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

Search the Archive

Re: ListSurfacePlot3D problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14577] Re: [mg14546] ListSurfacePlot3D problem
  • From: Des Penny <penny at suu.edu>
  • Date: Fri, 30 Oct 1998 03:07:45 -0500
  • Organization: Southern Utah University
  • References: <199810290933.EAA21733@smc.vnet.net.>
  • Sender: owner-wri-mathgroup at wolfram.com

Pedro:

First of all correct your error:

ListSurfacePlot3D[partial,Axes->True,PlotRange->All];

(You had "npartial").

Next:  Where did you get the command ListSurfacePlot3D?  When I do
?ListSurfacePlot3D
Information::"notfound": "Symbol \!\(\"ListSurfacePlot3D\"\) not found."


Perhaps what you need is ListPlot3D:

?ListPlot3D
"ListPlot3D[array] generates a three-dimensional plot of a surface \
representing an array of height values. ListPlot3D[array, shades]
generates a \
plot with each element of the surface shaded according to the
specification \
in shades."

Now you need to make sure that "partial" is in the form of a rectangular
array of real numbers:

partial
InputForm[partial]
MatrixForm[partial]


Hope this helps,

Cheers,

Des Penny



Peter Huesser wrote:

> I have the following input file (t.data):
>
> !!t.data
>
>    0.95000 120.00000  -185.41067000
>    1.35000 120.00000  -185.74612000
>    3.35000 124.00000  -154.35578000
>    5.35000 126.00000  -152.57248000
>    1.35000 130.00000  -185.75503000
>    3.75000 132.00000  -135.90709000
>    2.15000 138.00000  -185.74436000
>    4.55000 140.00000  -134.06786000
>    4.95000 140.00000  -152.69928000
>    2.55000 146.00000  -185.74015000
>    6.95000 150.00000  -150.94577000
>
> I read this file with the command:
>
> partial=ReadList["t.data",{Number,Number,Number}, RecordLists -> True];
>
> but the following command produces not a graphic output:
>
> ListSurfacePlot3D[npartial,Axes->True,PlotRange->All];
>
> Thank's in advance for any help
>
>             pedro
>
> Email: phuesser at bluewin.ch
>              huesser at physik.unizh.ch




  • Prev by Date: Re: Thread and Set
  • Next by Date: Re: beep after calculation
  • Previous by thread: ListSurfacePlot3D problem
  • Next by thread: Re: ListSurfacePlot3D problem