<?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=Zoom</id>
	<title>Zoom - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Zoom"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;action=history"/>
	<updated>2026-07-30T20:28:05Z</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=Zoom&amp;diff=5795&amp;oldid=prev</id>
		<title>Pyadmin: 10 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5795&amp;oldid=prev"/>
		<updated>2014-03-28T01:44:42Z</updated>

		<summary type="html">&lt;p&gt;10 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
'''zoom''' scales and translates the window and the origin to cover the atom selection.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 zoom [ selection [,buffer [, state [, complete ]]]]&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# auto zoom depending on what's loaded in PyMOL&lt;br /&gt;
zoom&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
zoom complete=1&lt;br /&gt;
&lt;br /&gt;
# zoom on just chain A&lt;br /&gt;
zoom (chain A)&lt;br /&gt;
&lt;br /&gt;
# zoom on residue 142&lt;br /&gt;
zoom 142/&lt;br /&gt;
&lt;br /&gt;
# zoom consistenly 20 Ang from each object at the center&lt;br /&gt;
center prot1&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&lt;br /&gt;
# prot1 and prot2 will have the same exact zoom factor&lt;br /&gt;
center prot2&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&amp;lt;/source&amp;gt;&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.zoom( string selection, float buffer=0.0,&lt;br /&gt;
          int state=0, int complete=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;
 complete = 0 or 1:&lt;br /&gt;
&lt;br /&gt;
Normally the zoom command tries to guess an optimal zoom level for visualization, balancing closeness against occasional clipping of atoms out of the field of view.  You can change this behavior by setting the complete option to 1, which will guarantee that the atom positions for the entire selection will fit in the field of an orthoscopic view.  To absolutely prevent clipping, you may also need to add a buffer (typically 2 A) to account for the perspective transformation and for graphical representations which extend beyond the atom coordinates.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
*[[Origin]]&lt;br /&gt;
*[[Orient]]&lt;br /&gt;
*[[Center]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Zoom]]&lt;br /&gt;
[[Category:States|Zoom]]&lt;br /&gt;
[[Category:View Module|Zoom]]&lt;/div&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5793&amp;oldid=prev</id>
		<title>Vinnyrose at 15:05, 20 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5793&amp;oldid=prev"/>
		<updated>2009-06-20T15:05:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:05, 20 June 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot; &gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Commands|Zoom]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Commands|Zoom]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:States|Zoom]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:States|Zoom]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:View Module|Zoom]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5792&amp;oldid=prev</id>
		<title>Vinnyrose at 14:29, 20 June 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5792&amp;oldid=prev"/>
		<updated>2009-06-20T14:29:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''zoom''' scales and translates the window and the origin to cover the atom selection.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 zoom [ selection [,buffer [, state [, complete ]]]]&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# auto zoom depending on what's loaded in PyMOL&lt;br /&gt;
zoom&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
zoom complete=1&lt;br /&gt;
&lt;br /&gt;
# zoom on just chain A&lt;br /&gt;
zoom (chain A)&lt;br /&gt;
&lt;br /&gt;
# zoom on residue 142&lt;br /&gt;
zoom 142/&lt;br /&gt;
&lt;br /&gt;
# zoom consistenly 20 Ang from each object at the center&lt;br /&gt;
center prot1&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&lt;br /&gt;
# prot1 and prot2 will have the same exact zoom factor&lt;br /&gt;
center prot2&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&amp;lt;/source&amp;gt;&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.zoom( string selection, float buffer=0.0,&lt;br /&gt;
          int state=0, int complete=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;
 complete = 0 or 1:&lt;br /&gt;
&lt;br /&gt;
Normally the zoom command tries to guess an optimal zoom level for visualization, balancing closeness against occasional clipping of atoms out of the field of view.  You can change this behavior by setting the complete option to 1, which will guarantee that the atom positions for the entire selection will fit in the field of an orthoscopic view.  To absolutely prevent clipping, you may also need to add a buffer (typically 2 A) to account for the perspective transformation and for graphical representations which extend beyond the atom coordinates.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
*[[Origin]]&lt;br /&gt;
*[[Orient]]&lt;br /&gt;
*[[Center]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|Zoom]]&lt;br /&gt;
[[Category:States|Zoom]]&lt;/div&gt;</summary>
		<author><name>Vinnyrose</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5790&amp;oldid=prev</id>
		<title>Englebip: fixed see also links in bullets</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5790&amp;oldid=prev"/>
		<updated>2008-11-06T15:28:41Z</updated>

		<summary type="html">&lt;p&gt;fixed see also links in bullets&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
'''zoom''' scales and translates the window and the origin to cover the atom selection.&lt;br /&gt;
&lt;br /&gt;
===USAGE===&lt;br /&gt;
 zoom [ selection [,buffer [, state [, complete ]]]]&lt;br /&gt;
&lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# auto zoom depending on what's loaded in PyMOL&lt;br /&gt;
zoom&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
zoom complete=1&lt;br /&gt;
&lt;br /&gt;
# zoom on just chain A&lt;br /&gt;
zoom (chain A)&lt;br /&gt;
&lt;br /&gt;
# zoom on residue 142&lt;br /&gt;
zoom 142/&lt;br /&gt;
&lt;br /&gt;
# zoom consistenly 20 Ang from each object at the center&lt;br /&gt;
center prot1&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&lt;br /&gt;
# prot1 and prot2 will have the same exact zoom factor&lt;br /&gt;
center prot2&lt;br /&gt;
zoom center, 20&lt;br /&gt;
&amp;lt;/source&amp;gt;&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.zoom( string selection, float buffer=0.0,&lt;br /&gt;
          int state=0, int complete=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;
 complete = 0 or 1:&lt;br /&gt;
&lt;br /&gt;
Normally the zoom command tries to guess an optimal zoom level for visualization, balancing closeness against occasional clipping of atoms out of the field of view.  You can change this behavior by setting the complete option to 1, which will guarantee that the atom positions for the entire selection will fit in the field of an orthoscopic view.  To absolutely prevent clipping, you may also need to add a buffer (typically 2 A) to account for the perspective transformation and for graphical representations which extend beyond the atom coordinates.&lt;br /&gt;
&lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
*[[Origin]]&lt;br /&gt;
*[[Orient]]&lt;br /&gt;
*[[Center]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|zoom]]&lt;/div&gt;</summary>
		<author><name>Englebip</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5785&amp;oldid=prev</id>
		<title>Tree at 05:47, 21 February 2005</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Zoom&amp;diff=5785&amp;oldid=prev"/>
		<updated>2005-02-21T05:47:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===DESCRIPTION===&lt;br /&gt;
    &amp;quot;zoom&amp;quot; scales and translates the window and the origin to cover the&lt;br /&gt;
   atom selection.&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
===USAGE===&lt;br /&gt;
    zoom [ selection [,buffer [, state [, complete ]]]]&lt;br /&gt;
 &lt;br /&gt;
===EXAMPLES===&lt;br /&gt;
    zoom&lt;br /&gt;
   zoom complete=1&lt;br /&gt;
   zoom (chain A)&lt;br /&gt;
   zoom 142/&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.zoom( string selection, float buffer=0.0,&lt;br /&gt;
             int state=0, int complete=0 )&lt;br /&gt;
&amp;lt;/source&amp;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;
   complete = 0 or 1:&lt;br /&gt;
      Normally the zoom command tries to guess an optimal zoom level&lt;br /&gt;
   for visualization, balancing closeness against occasional clipping&lt;br /&gt;
   of atoms out of the field of view.  You can change this behavior by&lt;br /&gt;
   setting the complete option to 1, which will guarantee that the&lt;br /&gt;
   atom positions for the entire selection will fit in the field of an&lt;br /&gt;
   orthoscopic view.  To absolutely prevent clipping, you may also&lt;br /&gt;
   need to add a buffer (typically 2 A) to account for the perpective&lt;br /&gt;
   transformation and for graphical representations which extend&lt;br /&gt;
   beyond the atom coordinates..&lt;br /&gt;
 &lt;br /&gt;
===SEE ALSO===&lt;br /&gt;
 &lt;br /&gt;
   [[Cmd origin]], [[Cmd orient]], [[Cmd center]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Commands|zoom]]&lt;/div&gt;</summary>
		<author><name>Tree</name></author>
	</entry>
</feed>