Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Axes in Plot3D and ListPlot3D
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Ray Koopman

Posts: 3,383
Registered: 12/7/04
Axes in Plot3D and ListPlot3D
Posted: Jun 17, 2013 6:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.