AtomLabels
is an option for MoleculePlot and MoleculePlot3D that specifies what labels and label positions should be used for atoms.
Details
- The following option settings can be used:
-
None use no atom labels All always use atom labels Automatic automatically label atoms "AtomIndex" use the atom index as a label "AtomChirality" use the atom chirality as a label MoleculeProperty[…] a molecule property for atoms EntityProperty["Element",…] an element property {a1lbl1,a2lbl2,…} label atom ai with lbli etc. {patt1lbl1,patt2lbl2,…} label atoms matching the pattern patti with lbli - Any expression can be used as a label.
- Use MoleculeValue["Properties"]["AtomProperties"] to list atomic properties for labeling.
- Placed[lbl,pos] can be used to place labels in relative position to the vertex box:
-
Tooltip, StatusArea show as tooltip or in status area on mouseover Center place label at center of atom Before,After,Below,Above place label outside before, after, etc. Left,Right,Bottom,Top place label inside to the left, right, etc. {Before,Below},{After,Below},… place label outside at corner before/below etc. {Left,Bottom},{Right,Bottom},… place label inside at corner left/bottom etc. {{vx,vy},{lx,ly}} scaled position {lx,ly} in the label at scaled position {vx,vy} in the atom
Examples
open allclose allBasic Examples (4)
Scope (4)
Label Specification (1)
Label Placement (3)
Use Placed with symbolic locations to control label placement, including outside positions:
Wolfram Research (2021), AtomLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/AtomLabels.html.
Text
Wolfram Research (2021), AtomLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/AtomLabels.html.
CMS
Wolfram Language. 2021. "AtomLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AtomLabels.html.
APA
Wolfram Language. (2021). AtomLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AtomLabels.html