|
SOLUTIONS
|
BUILT-IN MATHEMATICA 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.
- Mesh->False is equivalent to Mesh->None.
New in 1 | Last modified in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »






