Difference between revisions of "Viewport"

From PyMOLWiki
Jump to: navigation, 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--the visible openGL window (and thus the size of all png files subsequently output).
 
   
 
   
 
===USAGE===
 
===USAGE===

Revision as of 09:16, 19 January 2009

DESCRIPTION

viewport changes the size of the viewing port--the visible openGL window (and thus the size of all png files subsequently output).

USAGE

viewport width, height

PYMOL API

cmd.viewport(int width, int height)