I want to compare same plot with mathematica and python but they use different order of axes. I tried to change them in Plot3D
such that they look like the following plot in python:
but lot of tricks did not work. Namely I tried AxesEdge
, AxesOrigin
, ViewPoint
, $\ldots$ etc.
Is there any simple way to do this avoiding dynamic and rotation ?
I'm using the following code
domain = {0, 1};
Plot3D[Exp[x y], {x, 0, 1}, {y, ##}, ColorFunction -> "Rainbow",
PlotLegends -> Automatic, AxesLabel -> {"x", "y"}] & @@ domain
Graphics3D[{}, Axes -> True, AxesLabel -> {"x", "y", "z"}, FaceGrids -> {{1, 0, 0}, {0, 1, 0}, {0, 0, -1}}, PlotRange -> ConstantArray[{0, 1}, 3], ViewPoint -> {-2.4, -2.4, 2.}]
look like what you need? $\endgroup$Plot3D
and z-axis is in the right side linked to x-axis as in the image. $\endgroup$AxesLabel -> {"x", "y", "z"}
,FaceGrids -> {{1, 0, 0}, {0, 1, 0}, {0, 0, -1}}
, andViewPoint -> {-2.4, -2.4, 2.}
into yourPlot3D[]
and see if it helps. $\endgroup$AxesEdge
. In my case, x and z are with same origin and y start at the end of x-axis. $\endgroup$Plot3D[]
expression you are having trouble with, then? It's hard to say anything more helpful without seeing something concrete. $\endgroup$