Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14905
| From | Ray Koopman <koopman@sfu.ca> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Axes in Plot3D and ListPlot3D |
| Date | 2013-06-17 10:13 +0000 |
| Message-ID | <kpmng6$h0v$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
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:
ListPlot3D[Transpose@z,AxesLabel->{"x","y","z"},MeshRange->{{-3,3},{-3,3}}]
That seems unreasonable. What have I missed?
Is it mentioned somewhere in the documentation?
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Axes in Plot3D and ListPlot3D Ray Koopman <koopman@sfu.ca> - 2013-06-17 10:13 +0000
csiph-web