B2transparency

From PyMOLWiki
Revision as of 13:17, 10 May 2012 by Inchoate (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Type Python Module
Download b2transparency.py
Author(s) Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

b2transparency can set transparency settings like transparency or sphere_transparency for each atom scaled by b-factor (or any other numeric atomic property).

B2.png

Usage

b2transparency [ selection [, setting [, minimum [, maximum [, var ]]]]]

Example

# some dummy molecule with increasing b-factor along the chain
fab AAAAAAAAAAAAA
alter all, b=resv

b2transparency all

as sticks
show surface

set surface_color, gray

See Also