PythonのようにPlot3Dの軸を調整します
Sep 21 2020
同じプロットをmathematicaとpythonと比較したいのですが、それらは異なる順序の軸を使用しています。Plot3DPythonで次のプロットのように見えるように変更しようとしました
AxesEdge、AxesOrigin、ViewPoint、$\ldots$ 等
動的および回転を回避してこれを行う簡単な方法はありますか?
私は次のコードを使用しています
domain = {0, 1};
Plot3D[Exp[x y], {x, 0, 1}, {y, ##}, ColorFunction -> "Rainbow",
PlotLegends -> Automatic, AxesLabel -> {"x", "y"}] & @@ domain
それは以下を与えます:
回答
4 xzczd Sep 21 2020 at 19:53
これはあなたが必要なものですか?:
domain = {0, 1};
Plot3D[Exp[x y], {y, ##}, {x, 0, 1}, ColorFunction -> "Rainbow", AxesLabel -> Automatic,
ScalingFunctions -> {"Reverse", "Reverse"}, AxesEdge -> {Automatic, {1, -1}, {1, 1}},
PlotTheme -> "Detailed"] & @@ domain