MeshCellHighlight
✖
MeshCellHighlight
is an option and annotation of MeshRegion, BoundaryMeshRegion, and related functions that specifies mesh cells to highlight.
Details
- MeshCellHighlight provides settings to use for highlighting mesh cells in MeshRegion and related objects.
- The following option settings can be used:
-
{cellspec1,…} use automatic setting to highlight mesh cell cellspeci {cellspec1->style1,…} use stylei to highlight mesh cell cellspeci - The wrapper Annotation[cellspec,MeshCellHighlightstyle] can be used when creating mesh regions in functions such as MeshRegion, BoundaryMeshRegion, etc.
- The cell specification cellspec follows the standard form described for MeshRegion and BoundaryMeshRegion.
- MeshCellHighlight->style specifies the default highlighting styles to use for mesh cells.
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Highlight all 1D cells red and all 0D cells black:
https://wolfram.com/xid/0elsohg6j80a5mq-cu796p
Highlight all 2D cells transparent orange, 1D elements red, and 0D elements black:
https://wolfram.com/xid/0elsohg6j80a5mq-fa4e2x
Highlight all 2D cells transparent orange:
https://wolfram.com/xid/0elsohg6j80a5mq-iyb2i
Scope (11)Survey of the scope of standard use cases
Highlight all 1D cells red and all 0D cells black:
https://wolfram.com/xid/0elsohg6j80a5mq-6vtf6s
Highlight all 2D cells transparent orange, 1D elements red, and 0D elements black:
https://wolfram.com/xid/0elsohg6j80a5mq-11e9hg
Highlight all 2D cells transparent orange:
https://wolfram.com/xid/0elsohg6j80a5mq-za9xyj
Individual cells can be highlighted using their cell index:
https://wolfram.com/xid/0elsohg6j80a5mq-ftl546
https://wolfram.com/xid/0elsohg6j80a5mq-jeunic
All can be used to specify all cells:
https://wolfram.com/xid/0elsohg6j80a5mq-ijfhb4
By default, all cells are highlighted:
https://wolfram.com/xid/0elsohg6j80a5mq-55qo30
Highlight all cells of a given dimension:
https://wolfram.com/xid/0elsohg6j80a5mq-742b4x
Specify a list of cell indices to highlight:
https://wolfram.com/xid/0elsohg6j80a5mq-mscwxj
Highlight cells whose dimensions match a pattern:
https://wolfram.com/xid/0elsohg6j80a5mq-q5s3wb
Highlight cells whose indices match a pattern:
https://wolfram.com/xid/0elsohg6j80a5mq-mve2x8
Highlight with graphics directives appropriate for the dimension of the components:
https://wolfram.com/xid/0elsohg6j80a5mq-21b9cg
MeshCellHighlight can be combined with MeshCellShapeFunction:
https://wolfram.com/xid/0elsohg6j80a5mq-zhk4e7
https://wolfram.com/xid/0elsohg6j80a5mq-0j2x4f
Wolfram Research (2015), MeshCellHighlight, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCellHighlight.html.
Text
Wolfram Research (2015), MeshCellHighlight, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCellHighlight.html.
Wolfram Research (2015), MeshCellHighlight, Wolfram Language function, https://reference.wolfram.com/language/ref/MeshCellHighlight.html.
CMS
Wolfram Language. 2015. "MeshCellHighlight." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshCellHighlight.html.
Wolfram Language. 2015. "MeshCellHighlight." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MeshCellHighlight.html.
APA
Wolfram Language. (2015). MeshCellHighlight. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshCellHighlight.html
Wolfram Language. (2015). MeshCellHighlight. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MeshCellHighlight.html
BibTeX
@misc{reference.wolfram_2024_meshcellhighlight, author="Wolfram Research", title="{MeshCellHighlight}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/MeshCellHighlight.html}", note=[Accessed: 08-January-2025
]}
BibLaTeX
@online{reference.wolfram_2024_meshcellhighlight, organization={Wolfram Research}, title={MeshCellHighlight}, year={2015}, url={https://reference.wolfram.com/language/ref/MeshCellHighlight.html}, note=[Accessed: 08-January-2025
]}