Label anchor

From PyMOLWiki
Revision as of 18:22, 18 February 2010 by Inchoate (talk | contribs) (Created page with '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 defa…')
(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"