ColorFunction

ColorFunction

is an option for graphics functions that specifies a function to apply to determine colors of elements.

Details

Examples

open allclose all

Basic Examples  (5)

Color the surface by height:

Use predefined gradients:

Color a curve:

Color a matrix:

Color a 3D volume:

Applications  (1)

Define a one-dimensional color function:

Properties & Relations  (1)

Use predefined color gradients from ColorData:

Wolfram Research (1991), ColorFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ColorFunction.html (updated 2012).

Text

Wolfram Research (1991), ColorFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ColorFunction.html (updated 2012).

CMS

Wolfram Language. 1991. "ColorFunction." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/ColorFunction.html.

APA

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

BibTeX

@misc{reference.wolfram_2023_colorfunction, author="Wolfram Research", title="{ColorFunction}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/ColorFunction.html}", note=[Accessed: 28-September-2023 ]}

BibLaTeX

@online{reference.wolfram_2023_colorfunction, organization={Wolfram Research}, title={ColorFunction}, year={2012}, url={https://reference.wolfram.com/language/ref/ColorFunction.html}, note=[Accessed: 28-September-2023 ]}