# auto zoom depending on what's loaded in PyMOL
zoom
#
zoom complete=1
# zoom on just chain A
zoom (chain A)
# zoom on residue 142
zoom 142/
# zoom consistenly 20 Ang from each object at the center
center prot1
zoom center, 20
# prot1 and prot2 will have the same exact zoom factor
center prot2
zoom center, 20
cmd.zoom( string selection, float buffer=0.0,
int state=0, int complete=0 )
Normally the zoom command tries to guess an optimal zoom level for visualization, balancing closeness against occasional clipping of atoms out of the field of view. You can change this behavior by setting ..→