ColorDataFunction

ColorDataFunction[range,]
is a function that represents a color scheme.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

ColorData returns a ColorDataFunction object:

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

Return a color when the specific parameters are applied:

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

Define a color function for the plot:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2007
(6.0)