MathGroup Archive 2006

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

Search the Archive

Re: A bug in ListPlot3D ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66004] Re: [mg65906] A bug in ListPlot3D ?
  • From: "Hui Fang" <fangh73 at xmu.edu.cn>
  • Date: Wed, 26 Apr 2006 04:38:18 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Thanks for the help from you all. Now this problem is solved. I simply
thought ListPlot3D is used and interpreted the same way as ListPlot.

Hui Fang

-----ÓʼþÔ­¼þ-----
·¢¼þÈË: David Park [mailto:djmp at earthlink.net] 
·¢ËÍʱ¼ä: 2006Äê4ÔÂ23ÈÕ 18:18
ÊÕ¼þÈË: mathgroup at smc.vnet.net
Ö÷Ìâ: [mg65920] Re: [mg65906] A bug in ListPlot3D ?

The plot looks all right to me.

It is easy to misinterpret what ListPlot3D does. You have a 3 x 4 matrix of
numbers. EACH and EVERY element in the array represents a z value. So the z
range goes from -3 to 60. The x and y ranges go from 1 to the number of
elements in each level of the array. That is, x goes from 1 to 3 and y goes
from 1 to 4.

Note that the three numbers you have in each list DO NOT represent the
coordinates of a point.

The data sample as you presented it does not contain any information as to
what the x and y domains are. If you wanted to specify what they were you
could use the MeshRange option in the plot.

You may need to fit a surface to your data. We would have to know more about
the nature of your actual data. You may have to use DeLaunayTriangulation.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: Hui Fang [mailto:fangh73 at xmu.edu.cn]
To: mathgroup at smc.vnet.net

I'm trying to use ListPlot3D to show a interesting surface. However, the
result is very confusing. Since my data is rather long, I'll just use 4
points to explain what happened.

ListPlot3D[{{3,55,-3},{3,60,-3},{4,55,-2},{4,60,-2.5}}]


  • Prev by Date: Re: error function
  • Next by Date: Re: Where do I put my own add-on packages?
  • Previous by thread: Re: A bug in ListPlot3D ?
  • Next by thread: solving a set of inequalities