WOLFRAM

is an option for graphics primitives which specifies the colors to assign to vertices.

Details

Examples

open allclose all

Basic Examples  (9)Summary of the most common use cases

Specify vertex colors for 2D polygons:

Out[1]=1

Specify vertex colors for 3D polygons:

Out[1]=1

Specify vertex colors for 2D lines:

Out[1]=1

Specify vertex colors for 3D lines:

Out[1]=1

Specify vertex colors for tubes:

Out[1]=1

Specify vertex colors for 2D points:

Out[1]=1

Specify vertex colors for 3D points:

Out[1]=1

Opacity can be specified for each vertex as well:

Out[1]=1

Assign colors for shared vertices:

Out[3]=3

Scope  (1)Survey of the scope of standard use cases

Some plot functions, such as ListPlot3D, support VertexColors:

Out[3]=3

Neat Examples  (2)Surprising or curious use cases

Create opacity gradients on 3D polygons:

Out[1]=1

Use an image from ExampleData:

Plot the dataset with vertex colors, simulating the texture:

Out[2]=2
Wolfram Research (2007), VertexColors, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexColors.html (updated 2008).
Wolfram Research (2007), VertexColors, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexColors.html (updated 2008).

Text

Wolfram Research (2007), VertexColors, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexColors.html (updated 2008).

Wolfram Research (2007), VertexColors, Wolfram Language function, https://reference.wolfram.com/language/ref/VertexColors.html (updated 2008).

CMS

Wolfram Language. 2007. "VertexColors." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/VertexColors.html.

Wolfram Language. 2007. "VertexColors." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/VertexColors.html.

APA

Wolfram Language. (2007). VertexColors. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/VertexColors.html

Wolfram Language. (2007). VertexColors. Wolfram Language & System Documentation Center. Retrieved from 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: 21-May-2025 ]}

@misc{reference.wolfram_2025_vertexcolors, author="Wolfram Research", title="{VertexColors}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/VertexColors.html}", note=[Accessed: 21-May-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: 21-May-2025 ]}

@online{reference.wolfram_2025_vertexcolors, organization={Wolfram Research}, title={VertexColors}, year={2008}, url={https://reference.wolfram.com/language/ref/VertexColors.html}, note=[Accessed: 21-May-2025 ]}