3Dグラフィックスの関数のオプションとして使われ,境界ボックスの面に描く格子線を指定する.
FaceGrids
3Dグラフィックスの関数のオプションとして使われ,境界ボックスの面に描く格子線を指定する.
詳細
- 次は,FaceGridsの設定可能な指定である.
-
None 格子線を描かない All すべての面に格子線を描く {face1,face2,…} 指定された面に格子線を描く {{face1,{xgrid1,ygrid1}},…} 指定された格子線の詳細 - 面は{dirx,diry,dirz}の形式で指定される.ただし,diri のうちの2つが0,そして残る1つが+1または-1でなければならない.
- 例えば,最小の z 値を持つ x‐y 面は{0,0,-1}と指定される.
- それぞれの面について,{xgridi,ygridi}と指定して格子線の配置を決定することができる.これらの指定にはGridLinesの注釈に解説されている形式を使用することができる.
- FaceGridsStyleは,面格子に使うデフォルトスタイルを返す. »
例題
すべて開く すべて閉じる例 (3)
Graphics3D[Cylinder[], Axes -> True, FaceGrids -> All]Graphics3D[Cylinder[], Axes -> True, FaceGrids -> {{0, 0, 1}, {0, 0, -1}}]FaceGridsStyleを使って全体的な面格子のスタイルを指定する:
Graphics3D[Cylinder[], FaceGrids -> All, FaceGridsStyle -> Directive[Orange, Dashed]]スコープ (5)
FaceGridsの位置 (2)
Graphics3D[Cylinder[], Axes -> True, FaceGrids -> {{1, 0, 0}}]Graphics3D[Cylinder[], Axes -> True, FaceGrids -> {{-1, 0, 0}}]Graphics3D[Cylinder[], Axes -> True, FaceGrids -> {{{0, -1, 0}, {{0}, {-1 / 3, 1 / 3}}}}]Graphics3D[Cylinder[], Axes -> True, FaceGrids -> {{{0, -1, 0}, {{-1 / 2, 0, 1 / 2}, {-1 / 3, 1 / 3}}}, {{0, 0, 1}, {{-1 / 2, 0, 1 / 2}, {-1 / 3, 1 / 3}}}}]FaceGridsのスタイル (3)
Graphics3D[Cylinder[], FaceGrids -> {{{0, -1, 0}, {{{-1 / 2, Red}, {0, Green}, {1 / 2, Blue}}, {-1 / 3, {1 / 3, Directive[Thick, Dashed]}}}}}]FaceGridsStyleを使って面格子の全体的なスタイルを指定する:
Graphics3D[Cylinder[], FaceGrids -> All, FaceGridsStyle -> Orange]個別にスタイル付けされた面格子をFaceGridsStyleとともに使うことができる.個別スタイルの方が優先される:
Graphics3D[Cylinder[], FaceGrids -> {{{0, -1, 0}, {{{-1 / 2, Red}, {0, Green}, {1 / 2, Blue}}, {{-1 / 3, Thin}, {1 / 3, Dashed}}}}}, FaceGridsStyle -> Directive[Thick, Orange]]特性と関係 (1)
テクニカルノート
関連するガイド
履歴
1991 で導入 (2.0) | 2007 で更新 (6.0)
テキスト
Wolfram Research (1991), FaceGrids, Wolfram言語関数, https://reference.wolfram.com/language/ref/FaceGrids.html (2007年に更新).
CMS
Wolfram Language. 1991. "FaceGrids." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2007. https://reference.wolfram.com/language/ref/FaceGrids.html.
APA
Wolfram Language. (1991). FaceGrids. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FaceGrids.html
BibTeX
@misc{reference.wolfram_2026_facegrids, author="Wolfram Research", title="{FaceGrids}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/FaceGrids.html}", note=[Accessed: 04-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_facegrids, organization={Wolfram Research}, title={FaceGrids}, year={2007}, url={https://reference.wolfram.com/language/ref/FaceGrids.html}, note=[Accessed: 04-September-2026]}