BondLabels

BondLabels

is an option for MoleculePlot and MoleculePlot3D that specifies what labels and label positions should be used for bonds.

Details

  • The following option settings can be used:
  • Noneuse no edge labels
    "BondIndex"use the bond index as a label
    "BondStereo"use the stereo for double bonds as a label
    {Bond[{ai,aj}]->lblij,}label specific bonds
    {pattilbli,}use lbli for bonds matching the pattern patti
  • Placed[lbl,pos] can be used to place labels along a bond.
  • The following positions pos can be used for Labeled and Placed in positioning edge labels:
  • Tooltip,StatusAreashow as tooltip or in status area on mouseover
    "Start","Middle","End"place label at start, middle or end
    {Left,pos},{Right,pos}place label left or right of the bond at symbolic position
    {s,{lx,ly}}scaled position {lx,ly} in the label at scaled position s along the bond

Examples

open allclose all

Basic Examples  (2)

Label a specific bond:

Label only bonds matching a pattern:

Plot the molecule with labels in 3D:

Scope  (1)

Place a label along a bond:

Wolfram Research (2021), BondLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/BondLabels.html.

Text

Wolfram Research (2021), BondLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/BondLabels.html.

CMS

Wolfram Language. 2021. "BondLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/BondLabels.html.

APA

Wolfram Language. (2021). BondLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BondLabels.html

BibTeX

@misc{reference.wolfram_2023_bondlabels, author="Wolfram Research", title="{BondLabels}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/BondLabels.html}", note=[Accessed: 20-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_bondlabels, organization={Wolfram Research}, title={BondLabels}, year={2021}, url={https://reference.wolfram.com/language/ref/BondLabels.html}, note=[Accessed: 20-April-2024 ]}