Difference between revisions of "Viewport"

From PyMOLWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''viewport''' changes the size of the viewing port (and thus the size of all png files subsequently output)
  "viewport" changes the size of the viewing port (and thus the size
 
  of all png files subsequently output)
 
 
   
 
   
 
===USAGE===
 
===USAGE===
   
+
  viewport width, height
  viewport width, height
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.viewport(int width, int height)  
+
cmd.viewport(int width, int height)
</source>
+
</source>
  
 
[[Category:Commands|viewport]]
 
[[Category:Commands|viewport]]

Revision as of 10:44, 9 January 2006

DESCRIPTION

viewport changes the size of the viewing port (and thus the size of all png files subsequently output)

USAGE

viewport width, height

PYMOL API

cmd.viewport(int width, int height)