Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

MeshCellLabel

MeshCellLabel
is an option to MeshRegion, BoundaryMeshRegion and related functions that specifies labels and placements for mesh cells.

DetailsDetails

  • The following option settings can be used:
  • Automaticuse automatic setting for label
    Noneuse no label
    "Cell"use mesh cell h[{i1,}]
    "CellIndex"use mesh cell index {d,i} for dimension d
    "Index"use index i from mesh cell index {d,i}
    "Marker"use mesh cell marker
    {cellspec1label1,}use labeli for mesh cell cellspeci
  • The wrapper Labeled[cellspec,label] is equivalent to Property[cellspec,MeshCellLabellabel] and can be used when creating mesh regions in functions such as MeshRegion, BoundaryMeshRegion, etc.
  • Placed[label,"Centroid"] can be used to place the label at the centroid of the cell. Placed[label,Tooltip] will place the label in a Tooltip.
  • The cell specification cellspec follows the standard form described for MeshRegion and BoundaryMeshRegion.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Label the 0D cells:

In[1]:=
Click for copyable input
Out[1]=

Label the 1D cells:

In[2]:=
Click for copyable input
Out[2]=

Label the 0D cells:

In[1]:=
Click for copyable input
Out[1]=

Label the 1D cells:

In[2]:=
Click for copyable input
Out[2]=

Label the 0D cells:

In[1]:=
Click for copyable input
Out[1]=

Label the 1D cells:

In[2]:=
Click for copyable input
Out[2]=

Label the 2D cells:

In[3]:=
Click for copyable input
Out[3]=

Label the 0D cells:

In[1]:=
Click for copyable input
Out[1]=

Label the 1D cells:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2014
(10.0)
| Updated in 2015
(10.2)