Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > Plotting Options > MeshShading >

MeshShading

MeshShading
is an option for plotting functions that gives lists of colors to use for regions between mesh divisions.
  • MeshShading specifies that directives should be used cyclically for each of the n+1 regions defined by n mesh divisions.
  • MeshShading specifies that the should be used cyclically for the ^(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.
Style the areas between mesh lines:
Alternate colors along a curve:
Use MeshShading to remove portions of a surface:
Style the areas between mesh lines:
In[1]:=
Click for copyable input
Out[1]=
 
Alternate colors along a curve:
In[1]:=
Click for copyable input
Out[1]=
 
In[1]:=
Click for copyable input
Out[1]=
 
Use MeshShading to remove portions of a surface:
In[1]:=
Click for copyable input
Out[1]=
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF