AtomLabelStyle
MoleculePlotおよびMoleculePlot3Dのオプションで,原子のラベルに使うスタイルを指定する.
詳細
- AtomLabelStyleの設定にはStyleにおけるような任意のスタイル指定を使うことができる.
- 次は,よく使われる設定である.
-
Automatic 自動設定を使う style 全頂点に style を使う {1style1,2style2,…} インデックスが i の原子に styleiを使う {patt1style1,patt2style2,…} パターン pattiにマッチする原子に styleiを使う
例題
例 (3)
MoleculePlot[Molecule["water"], AtomLabels -> Table[i -> Subscript[a, i], {i, 3}], AtomLabelStyle -> Directive[Red, Italic, 12]]MoleculePlot[Molecule["water"], AtomLabels -> Table[i -> Subscript[a, i], {i, 3}], AtomLabelStyle -> {1 -> Directive[Red, Italic, 15], 2 -> Directive[Blue, Italic, 15]}]MoleculePlot[Molecule["benzaldehyde"], AtomLabels -> "AtomIndex", AtomLabelStyle -> {"C" -> Directive[Red, Italic, 15], _ -> Directive[Blue, Bold, 15]}]MoleculePlot3D[Molecule["tetraaminomethane"], AtomLabels -> "AtomIndex", AtomLabelStyle -> {"H" -> Directive[Blue, Italic, 15], _ -> Directive[Red, Bold, 15]}]テキスト
Wolfram Research (2021), AtomLabelStyle, Wolfram言語関数, https://reference.wolfram.com/language/ref/AtomLabelStyle.html.
CMS
Wolfram Language. 2021. "AtomLabelStyle." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AtomLabelStyle.html.
APA
Wolfram Language. (2021). AtomLabelStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AtomLabelStyle.html
BibTeX
@misc{reference.wolfram_2026_atomlabelstyle, author="Wolfram Research", title="{AtomLabelStyle}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AtomLabelStyle.html}", note=[Accessed: 14-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_atomlabelstyle, organization={Wolfram Research}, title={AtomLabelStyle}, year={2021}, url={https://reference.wolfram.com/language/ref/AtomLabelStyle.html}, note=[Accessed: 14-September-2026]}