HighlightMesh
HighlightMesh[mr,{cellspec1,cellspec2,…}]
highlights the cells specified by cellspeci in the mesh region mr.
HighlightMesh[mr,{…,wj[cellspecj],…}]
highlights using the symbolic wrappers wj.
Details and Options
- The cell specification follows the standard form {dim,indexes} and is specifically described in the reference pages for MeshRegion and BoundaryMeshRegion.
- HighlightMesh[mr,{ms1,ms2,…}] returns a new mesh region with the cells specified by msi highlighted.
- The following wrappers can be used:
-
Labeled[cell,…] display the element with labeling Style[cell,spec] show the element using the specified styles - HighlightMesh takes the same options as MeshRegion and BoundaryMeshRegion.
- Styles and other specifications for cells are taken to apply to the highlighted elements celli.
Examples
open allclose allBasic Examples (3)
Scope (7)
Specification (4)
HighlightMesh works with MeshRegion:
HighlightMesh works on 2D regions:
HighlightMesh works with points:
A collection of cells with the same dimension:
Options (11)
MeshCellHighlight (1)
MeshCellHighlight can be used to specify cells to highlight:
MeshCellLabel (2)
By default, MeshCellLabel of the given region is preserved:
Use MeshCellLabel->labels to specify labels of highlighted cells:
MeshCellMarker (2)
By default, MeshCellMarker of the given region is preserved:
Use MeshCellMarkermarkers to specify labels of highlighted cells:
MeshCellShapeFunction (2)
By default, MeshCellShapeFunction of the given region is preserved:
Use MeshCellShapeFunctionshapes to specify shape functions of highlighted cells:
MeshCellStyle (2)
Properties & Relations (4)
HighlightMesh of a MeshRegion returns a MeshRegion:
HighlightMesh of a BoundaryMeshRegion returns a BoundaryMeshRegion:
AnnotationValue can be used to set properties directly:
Options can be used to set properties during the creation of a MeshRegion:
Text
Wolfram Research (2014), HighlightMesh, Wolfram Language function, https://reference.wolfram.com/language/ref/HighlightMesh.html (updated 2015).
CMS
Wolfram Language. 2014. "HighlightMesh." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2015. https://reference.wolfram.com/language/ref/HighlightMesh.html.
APA
Wolfram Language. (2014). HighlightMesh. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HighlightMesh.html