<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=DanielCobb</id>
	<title>PyMOL Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=DanielCobb"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php/Special:Contributions/DanielCobb"/>
	<updated>2026-04-23T06:03:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Grid_mode&amp;diff=8306</id>
		<title>Grid mode</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Grid_mode&amp;diff=8306"/>
		<updated>2010-09-29T15:36:55Z</updated>

		<summary type="html">&lt;p&gt;DanielCobb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
'''grid_mode''' partitions the screen into a grid and displays each molecule in one grid location.  Each molecule rotates, zooms, etc in that grid.    A possibly very useful option for PyMOL.  Each grid area is assigned a [[grid_slot]] number.  This allows you to assign objects to certain grids; very helpful.  This can be useful when comparing homologous structures and you want to view and rotate the aligned structures side by side.  This is similar to a multiple split screen view of the proteins. You can write your [http://www.customcourseworks.com/ coursework] about it.&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' When using grid_mode with many molecules, it's sometimes good to align their centers of mass.  This puts them all squarely in the middle of their grid element.  The '''alignto''' command from [[cealign]] can do this for you.&lt;br /&gt;
&lt;br /&gt;
'''Hint:''' If you don't want to align the molecules (it's not reall necessary for grid_mode) you can just center them on some coordinate.  See [[COM]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' Currently (Mar 29, 2008), grid_mode is only available from source and not from the precompiled versions of PyMOL.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# turn on grid mode&lt;br /&gt;
set grid_mode,1&lt;br /&gt;
&lt;br /&gt;
# turn off grid mode&lt;br /&gt;
set grid_mode,0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Gm0.png|grid_mode off.  Four molecules shown loaded and aligned.&lt;br /&gt;
Image:Gm1.png|grid_mode on.  Each molecule is in its own window.&lt;br /&gt;
Image:Gm2.png|grid_mode on.  Lots of molecules shown.&lt;br /&gt;
Image:Wow_grid_mode.png|grid_mode on.  159 proteins shown!&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[grid_slot]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings|Grid_Mode]]&lt;/div&gt;</summary>
		<author><name>DanielCobb</name></author>
	</entry>
</feed>