# Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
BUILT-IN WOLFRAM LANGUAGE SYMBOL

# Mesh

Mesh
is an option for Plot3D, DensityPlot, and other plotting functions that specifies what mesh should be drawn.

## DetailsDetails

• The following settings can be given for Mesh:
•  None no mesh drawn n n equally spaced 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 ContourPlot3D and RegionPlot3D, the default mesh functions are the x, y, and z 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 {{a1,g1},…} divisions drawn with graphics directive
• 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.
• The can be color, Opacity, Thickness, Dashing, or other directives. Combinations of directives can be given using Directive.
• For ArrayPlot, Mesh->True draws mesh divisions between every cell.
• is equivalent to Mesh->None.

## ExamplesExamplesopen allclose all

### Basic Examples  (6)Basic Examples  (6)

Use no mesh:

 In[1]:=
 Out[1]=

Use 5 mesh lines in each direction:

 In[1]:=
 Out[1]=

Show all mesh elements used in the sampling:

 In[1]:=
 Out[1]=

Show underlying data points:

 In[1]:=
 Out[1]=

Include a mesh in an array plot:

 In[1]:=
 Out[1]=

Specify specific mesh lines:

 In[1]:=
 Out[1]=