This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.

# Mesh

 Meshis an option for Plot3D, DensityPlot and other plotting functions that specifies what mesh should be drawn.
• The following settings can be given for Mesh:
 None no mesh drawn n n equally spaced mesh divisions Automatic automatically chosen mesh divisions All mesh divisions between all elements Full mesh divisions between regular data points {spec1,spec2,...} separate specifications for each mesh function
• For surfaces, as generated for example by Plot3D, mesh divisions are lines. The same is true for regions, as generated for example by ContourPlot or RegionPlot.
• For curves, as generated for example by Plot, mesh divisions are points.
• There can be several families of mesh divisions in a single plot. Each family is associated with a mesh function in the list given as the setting for MeshFunctions.
• For Plot3D and ListPlot3D, the default mesh functions are the x and y coordinates.
• For ParametricPlot3D, the default mesh functions for surfaces are the u and v parameter values.
• In 2D, and for curves in 3D, the default is not to draw meshes.
• Mesh divisions are by default taken to be equally spaced between the minimum and maximum values achieved by a particular mesh function.
• Mesh divisions are by default taken to be drawn with the style specified by MeshStyle.
• The following explicit specifications can be associated with each mesh function:
 n n equally spaced divisions {a1,a2,...} divisions at values ai {{a1,g1},...} divisions drawn with graphics directive gi
• Mesh->All draws mesh divisions between every line or polygon generated by a plotting function.
• For functions like ListPlot3D and ListDensityPlot with regular arrays of data, Mesh->Full draws mesh divisions that cross at the position of each data point.
• For ArrayPlot, Mesh->True draws mesh divisions between every cell.
Use no mesh:
 Out[1]=

Use 5 mesh lines in each direction:
 Out[1]=

Show all mesh elements used in the sampling:
 Out[1]=

Show underlying data points:
 Out[1]=

Include a mesh in an array plot:
 Out[1]=

Specify specific mesh lines:
 Out[1]=