Category:Uncategorized

From PyMOLWiki
Jump to navigation Jump to search

Alter key bindings

It's not GUI, but you could simply bind a function key such as F1 to a command:

cmd.set_key('F1',lambda :cmd.show('sticks'))

Coloring Surface with Electrostatic Potential

You have to load the potential data by Delphi or some other program like AMBER version 9:

load sample.pdb, molecule
load sample.delphi, potential
show surface, molecule
ramp_new level, potential, [-7,0,7]
set surface_color, level, molecule

This category currently contains no pages or media.