This is a read-only mirror of pymolwiki.org

Label anchor

From PyMOL Wiki
Revision as of 02:16, 28 March 2014 by Pyadmin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Label_anchor is a new setting that controls onto which atoms residue labels will go. Selecting L > Label > Residues creates labels for your object or selection and they default to the alpha carbon. You can set Label_anchor to 'CB' or any other atom type to label on that atom instead of the alpha carbon.

Note: If you set this to an atom that doesn't exist in a residue, that label will be blank. Eg, setting this to "CB" will not label glycine residues.

Usage

# default labels will be on beta carbons now
set label_anchor, "CB"