Re: ListSurfacePlot3D
- To: mathgroup at smc.vnet.net
- Subject: [mg61508] Re: [mg61495] ListSurfacePlot3D
- From: Nathan Moore <nmoore at physics.umn.edu>
- Date: Thu, 20 Oct 2005 05:01:15 -0400 (EDT)
- References: <002301c5d533$44c2c270$0401a8c0@achirana>
- Sender: owner-wri-mathgroup at wolfram.com
Oh that it were that simple. The help page says triplets, the example cell defines a list of triplets. When I define triplets as below, I get said error about the wrong format. I implore you to cut and paste the text below into your local 5.2 installation and see the error for your self. thanks and regards, Nathan Moore On Oct 20, 2005, at 12:00 AM, David Annetts wrote: > 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. >