<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Orient</id>
	<title>Orient - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Orient"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Orient&amp;action=history"/>
	<updated>2026-06-21T08:21:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Orient&amp;diff=8143&amp;oldid=prev</id>
		<title>Pyadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Orient&amp;diff=8143&amp;oldid=prev"/>
		<updated>2014-03-28T02:16:34Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:16, 28 March 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Orient&amp;diff=8142&amp;oldid=prev</id>
		<title>Jaredsampson: /* EXAMPLES */ added a second image and &lt;code&gt; tags</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Orient&amp;diff=8142&amp;oldid=prev"/>
		<updated>2010-09-07T17:35:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;EXAMPLES: &lt;/span&gt; added a second image and &amp;lt;code&amp;gt; tags&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''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.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 orient object-or-selection [, state]&lt;br /&gt;
 orient (selection)&lt;br /&gt;
&lt;br /&gt;
===PYMOL API===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
cmd.orient( string object-or-selection [, state = 0] )&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===NOTES===&lt;br /&gt;
   state = 0 (default) use all coordinate states&lt;br /&gt;
   state = -1 use only coordinates for the current state&lt;br /&gt;
   state &amp;gt; 0  use coordinates for a specific state&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
For models with NCS symmetry, orient will align the model with the symmetry axis centered along the viewport's z axis.  For example,&lt;br /&gt;
&lt;br /&gt;
   fetch 1hiw, async=0&lt;br /&gt;
   as cartoon&lt;br /&gt;
   remove (!chain A,B,C)&lt;br /&gt;
   orient&lt;br /&gt;
   util.cbc&lt;br /&gt;
&lt;br /&gt;
will produce the first image below.  However, if there is a larger symmetry, e.g. two trimers, this will not work.  In the above example, leaving out &amp;lt;code&amp;gt;remove (!chain A,B,C)&amp;lt;/code&amp;gt; from the script results in the second image below.&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:1hiw orient.png|One trimer from 1hiw after &amp;quot;orient&amp;quot; command.&lt;br /&gt;
Image:1hiw orient2.png|Both trimers from 1hiw after &amp;quot;orient&amp;quot; command.&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
[[Zoom]], [[Origin]], [[Reset]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Orient]]&lt;br /&gt;
[[Category:States|Orient]]&lt;br /&gt;
[[Category:View Module|Orient]]&lt;/div&gt;</summary>
		<author><name>Jaredsampson</name></author>
	</entry>
</feed>