[Date Index]
[Thread Index]
[Author Index]
RE: Re: Regarding a 3D plot in mathematica
*To*: mathgroup at smc.vnet.net
*Subject*: [mg47518] RE: [mg47488] Re: [mg47462] Regarding a 3D plot in mathematica
*From*: "Owen, HL (Hywel)" <H.L.Owen at dl.ac.uk>
*Date*: Thu, 15 Apr 2004 03:39:27 -0400 (EDT)
*Sender*: owner-wri-mathgroup at wolfram.com
As well as using TriangularSurfacePlot (in
<<DiscreteMath`ComputationalGeometry`, as mentioned by someone else), you
can also perform an Interpolation on your data, and then use Plot3D - the
only problem is making sure that the domain of data you have is reasonably
large compared to what you're plotting, otherwise you'll get artefacts
outside of the data range.
ScatterPlot3D is handy if you only have a few points, but it's hard to see
the shape of the data. TriangularSurfacePlot is for more data than that,
whilst Interpolation is good if you have high-density, non-regularly spaced
data.
Hyel
> -----Original Message-----
> From: Tomas Garza [mailto:tgarza01 at prodigy.net.mx]
To: mathgroup at smc.vnet.net
> Sent: 14 April 2004 12:17
> To: mathgroup at smc.vnet.net
> Subject: [mg47518] [mg47488] Re: [mg47462] Regarding a 3D plot in mathematica
>
>
> No, I don't think you can. One possibility, which is not too
> neat, is to use
> Graphics`Graphics3D`ScatterPlot3D, and you will get something
> you may or may
> not be able to interpret adequately. But, then, why can't you
> convert your
> list of points in 3D to an array of heights? Perhaps, I
> venture to guess,
> you have missing points, so you can't get a proper array.
> But, should that
> be the case, 1) you may then fill the missing points with
> zeroes, or 2) use
> ListInterpolation to obtain estimates of the missing heights.
>
> Tomas Garza
> Mexico City
> ----- Original Message -----
> From: "Ananya Debnath" <ananya at ipc.iisc.ernet.in>
To: mathgroup at smc.vnet.net
> To: mathgroup at smc.vnet.net
> Subject: [mg47518] [mg47488] Re: [mg47462] 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 at ipc.iisc.ernet.in>
To: mathgroup at smc.vnet.net
> To: mathgroup at smc.vnet.net
> > > To: <mathgroup at smc.vnet.net>
> > > Sent: Tuesday, April 13, 2004 5:26 AM
> > > Subject: [mg47518] [mg47488] [mg47462] 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}].
> > > >
> > > > Can you please help me regarding this plot?
> > > >
> > > > Thanks,
> > > >
> > > > Ananya.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Prev by Date:
**RE: Re: Regarding a 3D plot in mathematica**
Next by Date:
**Re: Adding hyperlinks to help browser files in function::usage**
Previous by thread:
**RE: Re: Regarding a 3D plot in mathematica**
Next by thread:
**Question: ABS and \[Prime]**
| |