ListPlot[{{x1,y1},{x2,y2},...}] plots a list of values with specified
x and y coordinates.
I'm wondering if there is any similar command in 3D such that I can
call ListPlot3D[{{x1,y1,z1},{x2,y2,z2},...}] to plot a list of values
with specified x and y coordinates.
It seems the build command ListPlot3D can not do this.
Thanks,
Peng
The function you are looking for is called ListSurfacePlot3D
In[1]:=
<<Graphics`Graphics3D`
In[2]:=
?ListSurfacePlot3D
ListSurfacePlot3D[{{{x11, y11, z11}, ...},{{x12, y12, z12}, ...}, ...},
(options)] plots a matrix of points in three dimensions as a surface.
Regards,
Jean-Marc
FrontEndExecute[HelpBrowserLookup["AddOns", "Graphics`Graphics3D`",
"1.6"]]
Regards
Dimitris
>ListPlot[{{x1,y1},{x2,y2},...}] plots a list of values with
>specified x and y coordinates.
>I'm wondering if there is any similar command in 3D such that I can
>call ListPlot3D[{{x1,y1,z1},{x2,y2,z2},...}] to plot a list of
>values with specified x and y coordinates.
>It seems the build command ListPlot3D can not do this.
Yes, the built in command ListPlot3D assumes an array containing
z values where the array coordinates are taken to be x and y values.
The function to use to get Mathematica to plot points in 3D
space is ScatterPlot3D found in the package Graphics`Graphics3D`.
--
To reply via email subtract one hundred and four
ScatterPlot3D[{{x1, y1, z1}, ...}, (options)]
Bob Hanlon
---- Peng Yu <peng...@gmail.com> wrote:
> Hi,
>
> ListPlot[{{x1,y1},{x2,y2},...}] plots a list of values with specified
> x and y coordinates.
>
> I'm wondering if there is any similar command in 3D such that I can
> call ListPlot3D[{{x1,y1,z1},{x2,y2,z2},...}] to plot a list of values
> with specified x and y coordinates.
>
> It seems the build command ListPlot3D can not do this.
>
> Thanks,
> Peng
>
Try
TriangularSurfacePlot
On 10/24/06, Peng Yu <peng...@gmail.com> wrote:
> Hi,
>
> ListPlot[{{x1,y1},{x2,y2},...}] plots a list of values with specified
> x and y coordinates.
>
> I'm wondering if there is any similar command in 3D such that I can
> call ListPlot3D[{{x1,y1,z1},{x2,y2,z2},...}] to plot a list of values
> with specified x and y coordinates.
>
> It seems the build command ListPlot3D can not do this.
>
> Thanks,
> Peng
>
>
pointListPlot3D[lis_List, opts___] := Show[Graphics3D[Point /@ lis],
opts, Axes -> True]
Example of application
pointListPlot3D[Table[{n Cos[n], n Sin[n], n}, {n, 0, 100, 0.1}]]
Compare with
Needs["Graphics`Graphics3D`"]
ScatterPlot3D[Table[{n Cos[n], n Sin[n], n}, {n, 0, 100, 0.1}]]
Regards
Dimitris