Difference between revisions of "Orient"

From PyMOLWiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''orient''' aligns the principal components of the atoms in the selection with the XYZ axes.  The function is similar to the orient command in X-PLOR.
  "orient" aligns the principal components of the atoms in the
+
 
  selection with the XYZ axes.  The function is similar to the
 
  orient command in X-PLOR.
 
 
 
===USAGE===
 
===USAGE===
   
+
  orient object-or-selection [, state]
  orient object-or-selection [, state]
+
orient (selection)
  orient (selection)
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">  
+
<source lang="python">
  cmd.orient( string object-or-selection [, state = 0] )
+
cmd.orient( string object-or-selection [, state = 0] )
</source>
+
</source>
  
 
===NOTES===
 
===NOTES===
 
 
   state = 0 (default) use all coordinate states
 
   state = 0 (default) use all coordinate states
 
   state = -1 use only coordinates for the current state
 
   state = -1 use only coordinates for the current state
 
   state > 0  use coordinates for a specific state
 
   state > 0  use coordinates for a specific state
+
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Cmd zoom]], [[Cmd origin]], [[Cmd reset]]
  [[Cmd zoom]], [[Cmd origin]], [[Cmd reset]]
+
 
 
 
[[Category:Commands|orient]]
 
[[Category:Commands|orient]]

Revision as of 13:59, 9 June 2005

DESCRIPTION

orient aligns the principal components of the atoms in the selection with the XYZ axes. The function is similar to the orient command in X-PLOR.

USAGE

orient object-or-selection [, state]
orient (selection)

PYMOL API

cmd.orient( string object-or-selection [, state = 0] )

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

SEE ALSO

Cmd zoom, Cmd origin, Cmd reset