ColorFunction

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

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (5)Basic Examples  (5)

Color the surface by height:

In[1]:=
Click for copyable input
Out[1]=

Use predefined gradients:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Color a curve:

In[1]:=
Click for copyable input
Out[1]=

Color a matrix:

In[1]:=
Click for copyable input
Out[1]=

Color a 3D volume:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1991
(2.0)
| Updated in 2012
(9.0)
Translate this page: