This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

MeshShading

MeshShading
is an option for plotting functions that gives lists of colors to use for regions between mesh divisions.
  • MeshShading->{c1, c2, ...} specifies that directives ci should be used cyclically for each of the n+1 regions defined by n mesh divisions.
  • MeshShading->{{c11, c12, ...}, {c21, ...}, ...} specifies that the cij should be used cyclically for the i, j^(th) patch defined by two mesh functions.
  • If k mesh functions are specified, the setting for MeshShading should be an array of depth k.
  • The default setting MeshShading->None specifies that no additional directives associated with mesh regions should be added.
  • Directives can be combined using Directive[g1, g2, ...].
New in 6