MathGroup Archive 2013

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

Search the Archive

Axes in Plot3D and ListPlot3D

  • To: mathgroup at
  • Subject: [mg131197] Axes in Plot3D and ListPlot3D
  • From: Ray Koopman <koopman at>
  • Date: Mon, 17 Jun 2013 06:25:11 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Plot3D[Sin[x + y^2],{x,-3,3},{y,-3,3},AxesLabel->{"x","y","z"}]

gives a plot that I thought I could duplicate by creating a table

z = Table[Sin[x + y^2],{x,-3,3,1/4},{y,-3,3,1/4}];

and then using ListPlot3D:

ListPlot3D[z,AxesLabel->{"x","y","z"},MeshRange->{{-3,3},{-3,3}}] .

That gives a different view of the same surface, with the wrong labels 
on the axes. To duplicate the Plot3D result I must transpose the array:


That seems unreasonable. What have I missed? 
Is it mentioned somewhere in the documentation?

  • Prev by Date: Re: Position
  • Next by Date: Re: ListPlot3D
  • Previous by thread: Re: Using Mathematica
  • Next by thread: Re: Axes in Plot3D and ListPlot3D