Center: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
===SEE ALSO=== | ===SEE ALSO=== | ||
[[ | [[Origin]], [[Orient]], [[Zoom]] | ||
[[Category:Commands|center]] | [[Category:Commands|center]] |
Revision as of 17:13, 7 November 2007
DESCRIPTION
center translates the window, the clipping slab, and the origin to a point centered within the atom selection.
PYMOL API
cmd.center( string selection, int state = 0, int origin = 1 )
NOTES
- state = 0 (default) use all coordinate states
- state = -1 use only coordinates for the current state
- state > 0 use coordinates for a specific state
- origin = 1 (default) move the origin
- origin = 0 leave the origin unchanged