Viewport: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
===DESCRIPTION===
 
'''viewport''' changes the size of the viewing port--the visible openGL window (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).
   
   

Revision as of 13:44, 17 November 2009

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)