是三维图形函数的一个选项,指定在边界框的面上所绘制的网格线.
FaceGrids
是三维图形函数的一个选项,指定在边界框的面上所绘制的网格线.
范例
打开所有单元 关闭所有单元基本范例 (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 语言. 1991. "FaceGrids." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2007. https://reference.wolfram.com/language/ref/FaceGrids.html.
APA
Wolfram 语言. (1991). FaceGrids. Wolfram 语言与系统参考资料中心. 追溯自 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: 05-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: 05-September-2026]}