Turn: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
'''turn''' rotates the camera about one of the three primary axes, centered at the origin.
  "turn" rotates the camera about one of the three primary axes,
 
  centered at the origin.
===USAGE===
===USAGE===
   
  turn axis, angle
  turn axis, angle
 
===EXAMPLES===
===EXAMPLES===
   
  turn x,90
  turn x,90
turn y,45
  turn y,45
 
===PYMOL API===
===PYMOL API===
<source lang="python">
<source lang="python">
  cmd.turn( string axis, float angle )
cmd.turn( string axis, float angle )
</source>
</source>
 
===SEE ALSO===
===SEE ALSO===
[[Cmd move]], [[Cmd rotate]], [[Cmd translate]], [[Cmd zoom]], [[Cmd center]], [[Cmd clip]]
  [[Cmd move]], [[Cmd rotate]], [[Cmd translate]], [[Cmd zoom]], [[Cmd center]], [[Cmd clip]]


[[Category:Commands|turn]]
[[Category:Commands|turn]]

Revision as of 14:30, 29 January 2006

DESCRIPTION

turn rotates the camera about one of the three primary axes, centered at the origin.

USAGE

turn axis, angle

EXAMPLES

turn x,90
turn y,45

PYMOL API

cmd.turn( string axis, float angle )

SEE ALSO

Cmd move, Cmd rotate, Cmd translate, Cmd zoom, Cmd center, Cmd clip