Re: ListPlot and ListPlot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg70727] Re: ListPlot and ListPlot3D
- From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
- Date: Wed, 25 Oct 2006 01:39:50 -0400 (EDT)
- Organization: The Open University, Milton Keynes, UK
- References: <ehkbq4$fum$1@smc.vnet.net>
Peng Yu 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
>
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