3Dグラフィックス関数のオプションとして使われ,境界ボックスのどの辺に座標軸を描くかを指定する.
AxesEdge
3Dグラフィックス関数のオプションとして使われ,境界ボックスのどの辺に座標軸を描くかを指定する.
詳細
- AxesEdge->{{diry,dirz},{dirx,dirz},{dirx,diry}}は,境界ボックスの3辺のどの辺に座標軸を描くかを指定する.diriは,+1もしくは-1でなければならず,座標軸を描く境界ボックスの辺を相対的な i の大小の値で指定する.
- デフォルト設定AxesEdge->Automaticは,自動的に視覚の手前にある辺に座標軸を描くように指定する.
- AxesEdgeの設定において,任意のペア{diri,dirj}は,対応する座標軸の位置を自動選択するようにAutomaticにすることができる.
- 任意のペア{diri,dirj}はNoneにできる.その場合,対応する軸は描かれない.
- どの辺に座標軸を描くかを指定すると,その辺が視点から隠れていても指定された辺に描かれることになる.
例題
すべて開く すべて閉じる例 (3)
Graphics3D[Cylinder[], Axes -> True, AxesEdge -> Automatic]Plot3D[Sin[x y], {x, 0, Pi}, {y, 0, Pi}, AxesEdge -> Automatic]Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {Automatic, None, Automatic}]{Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {{-1, 1}, None, None}],
Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {None, {1, -1}, None}],
Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {None, None, {1, -1}}]}スコープ (2)
Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {{1, 1}, None, None}]Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {{-1, 1}, None, None}]Table[Graphics3D[Cylinder[], Axes -> True, AxesEdge -> {None, None, e}], {e, {{1, 1}, {1, -1}, {-1, -1}, {-1, 1}}}]アプリケーション (1)
特性と関係 (2)
Automaticを使うと,むき出しになった境界ボックスの辺の1つに置かれる:
Table[Graphics3D[{Cuboid[], Cuboid[{1, 1, 0}, {3, 3, 2}]}, Axes -> True, AxesEdge -> Automatic, ViewPoint -> vp], {vp, {{2, -2, 2}, {-2, 2, 2}, {2, 2, 2}}}]2Dでは,AxesOriginがどこに座標軸を描くかを指定する:
Graphics[Circle[], Axes -> True, AxesOrigin -> {0, -1}]関連項目
テクニカルノート
関連するガイド
履歴
1991 で導入 (2.0)
テキスト
Wolfram Research (1991), AxesEdge, Wolfram言語関数, https://reference.wolfram.com/language/ref/AxesEdge.html.
CMS
Wolfram Language. 1991. "AxesEdge." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AxesEdge.html.
APA
Wolfram Language. (1991). AxesEdge. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AxesEdge.html
BibTeX
@misc{reference.wolfram_2026_axesedge, author="Wolfram Research", title="{AxesEdge}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/AxesEdge.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_axesedge, organization={Wolfram Research}, title={AxesEdge}, year={1991}, url={https://reference.wolfram.com/language/ref/AxesEdge.html}, note=[Accessed: 18-August-2026]}