MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ListSurfacePlot3D


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.
>


  • Prev by Date: Re: Re: DSolve and matrix form of system of equations
  • Next by Date: Re: regress versus fit - force through zero/forceconstant term to zero
  • Previous by thread: Re: ListSurfacePlot3D
  • Next by thread: GradPack v1.1