DOCUMENTATION CENTER SEARCH
Mathematica
>
Colors
>
Built-in
Mathematica
Symbol
ColorFunction
See Also »
|
Colors
Image Processing
Plotting Options
More About »
ColorRules
ColorRules
is an option for
ArrayPlot
which specifies how colors of cells should be determined from values.
MORE INFORMATION
The rules given by
ColorRules
are applied to the value of each cell.
Rules for
ColorRules
can involve patterns.
If the result from applying
ColorRules
is
None
, the background color will be used.
If none of the rules in
ColorRules
apply, then
ColorFunction
is used to determine the color.
With the default setting
ColorRules->
Automatic
, an explicit setting
ColorFunction
->
f
is used instead of
ColorRules
.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Use color rules for
ArrayPlot
:
In[1]:=
Out[1]=
Use color rules for
MatrixPlot
:
In[1]:=
Out[1]=
Scope
(4)
Applications
(3)
SEE ALSO
ColorFunction
MORE ABOUT
Colors
Image Processing
Plotting Options
New in 5.1
© 2008 Wolfram Research, Inc.