Re: ListSurfacePlot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg61506] Re: [mg61495] ListSurfacePlot3D
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Thu, 20 Oct 2005 05:01:14 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi Nathan,
> I'd like to plot a surface defined by a list of {x,y,z}
> triplets. At present, I'm seeing an error that seems rather strange.
>
> I generate a list of data and import it into Mathematica (a
> small sample follows),
>
> data = {
> {0.1,10.0, 562.962998},
> {0.2, 10.0, 907.662163},
> {0.3,1.4, 259.394802},
> {0.4, 1.4, 260.02852}}
>
> Then I load the appropriate package,
>
> << Graphics`Graphics3D`
>
> and then generate a plot,
>
> ListSurfacePlot3D[data]
>
> Unfortunately at this stage I end up with an empty box and
> multiple errors, all of form,
>
> Graphics3D::"nlist3": "0.1` is not a list of three numbers."
>
> Please, What does this error mean? "data" is certainly a
> list of triplets.
It just means that your data are in the wrong format -- look at online help
for ListSurfacePlot3D & try an example to see this.
Alternatively, you could use ListPlot3D[data] with the data as is.
Regards,
Dave.