f

#### Re: Regarding a 3D plot in mathematica

```  I know this option. But say, if I can't convert my data (list of points
in 3D) as array of height values, then can I plot my data of list of
points in 3D directly as we plot in case of a function?

Ananya.

On Tue, 13 Apr 2004, Tomas Garza wrote:

> There are some fine points regarding the nature of the points you want to
> plot in 3D. First, have a close look at the definition of ListPlot3D (in the
> on-line help browser, e.g.). Notice that the argument you must provide is an
> array of height values, not a list of points in 3D. So, for example
>
> In[1]:=
> tbl = Table[Sin[x*y], {x, 0, Pi, Pi/8},
>     {y, 0, Pi, Pi/8}];
>
> In[2]:=
> ListPlot3D[tbl];
>
> works all right (first of all load Graphis`Graphics3D`). Some
> experimentation is useful in order to familiarize yourself with this
> function.
>
> Tomas Garza
> Mexico City
> ----- Original Message -----
> From: "Ananya Debnath" <ananya@ipc.iisc.ernet.in>
> To: <mathgroup@smc.vnet.net>
> Sent: Tuesday, April 13, 2004 5:26 AM
> Subject:  Regarding a 3D plot in mathematica
>
>
> > Hi,
> >
> > I want to make a 3D plot out of a data file having 3 columns of numbers
> > using mathematica such that each row represents a point in 3D, and also
> > the resulting plot looks as one obtained from ploting a function with
> command
> > line:
> > Plot3D[function[x,y],{x,xmin,xmax},{y,ymin,ymax}].
> >
> >
> > Thanks,
> >
> > Ananya.
> >
> >
> >
> >
> >
> >
>
>

```
 0
ananya (2)
4/14/2004 11:30:52 AM
comp.soft-sys.math.mathematica 28821 articles. 0 followers.

0 Replies
628 Views

Similar Articles

[PageSpeed] 12