VertexColors
✖
VertexColors
更多信息

- VertexColors 可以和 Polygon、Line、Tube、Point 和 GraphicsComplex 一起使用.
- VertexColors->{col1,col2,…} 指定顶点 i 应采用颜色 coli.
- 多边形内部的颜色,采用 VertexColors 指定颜色之间的插值颜色.
- 在三维图形中, VertexColors 的设置方式类似灯光模拟,包括在任何平面或物质的属性上的设置.
- 每个顶点的颜色 coli 可以明确指定,例如GrayLevel[g] 或 RGBColor[r,g,b], 或采用下面的形式:
-
g GrayLevel[g] {g,a} GrayLevel[g,a] {r,g,b} RGBColor[r,g,b] {r,g,b,a} RGBColor[r,g,b,a]
范例
打开所有单元关闭所有单元基本范例 (9)常见实例总结
In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-by2qz9
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-l58qcl
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-cn0av
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-gff7zx
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-gdsgth
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-g3z8y
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-fkwrh4
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-lgy12
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-oj5cw
In[2]:=2

✖
https://wolfram.com/xid/0rtdmwyj6-hebi7
In[3]:=3

✖
https://wolfram.com/xid/0rtdmwyj6-eibhbd
Out[3]=3

范围 (1)标准用法实例范围调查
一些图形函数, 诸如 ListPlot3D, 都支持 VertexColors:
In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-gbb7dj
In[2]:=2

✖
https://wolfram.com/xid/0rtdmwyj6-dh1jju
In[3]:=3

✖
https://wolfram.com/xid/0rtdmwyj6-kv3oge
Out[3]=3

巧妙范例 (2)奇妙或有趣的实例
In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-b9q7z3
Out[1]=1

采用 ExampleData 中一个图形示例:
In[1]:=1

✖
https://wolfram.com/xid/0rtdmwyj6-gv7e2q
In[2]:=2

✖
https://wolfram.com/xid/0rtdmwyj6-nz9bo8
Out[2]=2

Wolfram Research (2007),VertexColors,Wolfram 语言函数,https://reference.wolfram.com/language/ref/VertexColors.html (更新于 2008 年).
✖
Wolfram Research (2007),VertexColors,Wolfram 语言函数,https://reference.wolfram.com/language/ref/VertexColors.html (更新于 2008 年).
文本
Wolfram Research (2007),VertexColors,Wolfram 语言函数,https://reference.wolfram.com/language/ref/VertexColors.html (更新于 2008 年).
✖
Wolfram Research (2007),VertexColors,Wolfram 语言函数,https://reference.wolfram.com/language/ref/VertexColors.html (更新于 2008 年).
CMS
Wolfram 语言. 2007. "VertexColors." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2008. https://reference.wolfram.com/language/ref/VertexColors.html.
✖
Wolfram 语言. 2007. "VertexColors." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2008. https://reference.wolfram.com/language/ref/VertexColors.html.
APA
Wolfram 语言. (2007). VertexColors. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/VertexColors.html 年
✖
Wolfram 语言. (2007). VertexColors. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/VertexColors.html 年
BibTeX
✖
@misc{reference.wolfram_2025_vertexcolors, author="Wolfram Research", title="{VertexColors}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/VertexColors.html}", note=[Accessed: 09-June-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_vertexcolors, organization={Wolfram Research}, title={VertexColors}, year={2008}, url={https://reference.wolfram.com/language/ref/VertexColors.html}, note=[Accessed: 09-June-2025
]}