https://pymolwiki.org/api.php?action=feedcontributions&user=DanielCobb&feedformat=atomPyMOLWiki - User contributions [en]2024-03-29T12:21:09ZUser contributionsMediaWiki 1.35.7https://pymolwiki.org/index.php?title=Grid_mode&diff=8536Grid mode2010-09-29T15:36:55Z<p>DanielCobb: /* Overview */</p>
<hr />
<div>== Overview ==<br />
'''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.<br />
<br />
'''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.<br />
<br />
'''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]].<br />
<br />
'''Note:''' Currently (Mar 29, 2008), grid_mode is only available from source and not from the precompiled versions of PyMOL.<br />
<br />
== Syntax ==<br />
<source lang="python"><br />
# turn on grid mode<br />
set grid_mode,1<br />
<br />
# turn off grid mode<br />
set grid_mode,0<br />
</source><br />
<br />
<br />
== Example ==<br />
<gallery><br />
Image:Gm0.png|grid_mode off. Four molecules shown loaded and aligned.<br />
Image:Gm1.png|grid_mode on. Each molecule is in its own window.<br />
Image:Gm2.png|grid_mode on. Lots of molecules shown.<br />
Image:Wow_grid_mode.png|grid_mode on. 159 proteins shown!<br />
</gallery><br />
<br />
== See Also ==<br />
[[grid_slot]]<br />
<br />
<br />
<br />
[[Category:Settings|Grid_Mode]]</div>DanielCobb