Difference between revisions of "B2transparency"

From PyMOLWiki
Jump to: navigation, search
(created)
 
 
Line 7: Line 7:
  
 
[[b2transparency]] can set transparency settings like [[transparency]] or [[sphere_transparency]] for each atom scaled by b-factor (or any other numeric atomic property).
 
[[b2transparency]] can set transparency settings like [[transparency]] or [[sphere_transparency]] for each atom scaled by b-factor (or any other numeric atomic property).
 +
 +
[[Image:b2.png|300px]]
  
 
== Usage ==
 
== Usage ==

Latest revision as of 13:17, 10 May 2012

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