Difference between revisions of "Viewport"

From PyMOLWiki
Jump to: navigation, search
m
Line 10: Line 10:
 
</source>
 
</source>
  
[[Category:Commands|viewport]]
+
[[Category:Commands|Viewport]]

Revision as of 10:29, 20 June 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)