This is a read-only mirror of pymolwiki.org
Difference between revisions of "CBC"
Jump to navigation
Jump to search
m |
m (10 revisions) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
[[Util.cbc]] stands for (the utilities library's) '''color by chain'''. This simply colors molecules by their chains, as the name suggests. | [[Util.cbc]] stands for (the utilities library's) '''color by chain'''. This simply colors molecules by their chains, as the name suggests. | ||
Latest revision as of 01:49, 28 March 2014
Util.cbc stands for (the utilities library's) color by chain. This simply colors molecules by their chains, as the name suggests.
The affects of CBC are shown in the following images.
Usage
# simple command
util.cbc selection, first_color, quiet
# api usage
util.cbc(selection='(all)',first_color=7,quiet=1,legacy=0,_self=cmd)
where
- selection defaults to 'all',
- first_color defaults to 7,
- quiet defaults to 1
Example
# color everything by chain
util.cbc