is an option that specifies how colors of cells should be determined from values.



open allclose all

Basic Examples  (4)

Use color rules for ArrayPlot:

Use color rules for MatrixPlot:

Use color rules for GeoRegionValuePlot:

Use color rules for Colorize:

Scope  (4)

ColorRules can involve patterns:

If no explicit color rules apply, the default ArrayPlot coloring is used:

Color rules are applied before color function:

Cases specified as None are rendered in the background color:

Applications  (3)

Modular operations tables:

Highlight cells where the GCD is 1:

Color a cellular automaton pattern:

Introduced in 2004