Personal tools
Document Actions

Change camera size

This How-to applies to: 1.4.5
This How-to is intended for: Any audience.

How-to change Camera size on start-up or on-the-fly.

Start PMV and click on Set Camera Size of the 3D Graphics menu. This will popup Set Camera Size window where you can set Camera width, height and X/Y offsets. Change these values using Thumbwheel widget and click OK.  Now, if you lick on the "Message Box" icon textBox you can see that the actual command that has been executed is:

self.setCameraSize(612, 539, xoffset=119, yoffset=41

Copy this code and paste it at the end of your ~/.mgltools/1.4.5/Pmv/_pmvrc file. Next time you start PMV, this code will be executed setting Camera size as needed.

setCameraSize

see also:

Changing default parameters
Explains how-to change default parameters using _pmvrc.
by Sargis Dallakyan last modified 2007-07-09 16:29 Molecular Graphics Laboratory, TSRI

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: