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:

Introduced in 1991
 (2.0)
 |
Updated in 1999
 (4.0)
2000
 (4.1)
2002
 (4.2)
2007
 (6.0)
2012
 (9.0)