CBC: Difference between revisions
Appearance
No edit summary |
|||
| Line 8: | Line 8: | ||
Image:Cbc1.png|util.cbc command issued. Each chain gets its own color. | Image:Cbc1.png|util.cbc command issued. Each chain gets its own color. | ||
</gallery> | </gallery> | ||
== Usage == | |||
<source lang="python"> | |||
util.cbc selection, first_color, quiet | |||
</source>, | |||
where | |||
* selection defaults to 'all', | |||
* first_color defaults to 7, | |||
* quiet defaults to 1 | |||
== Example == | |||
<source lang="python"> | |||
# color everything by chain | |||
util.cbc | |||
</source> | |||
== See Also == | == See Also == | ||
Revision as of 22:15, 25 August 2008
Overview
Util.cbc stands for color by chain. This simply colors molecules by their chains, as the name suggests.
The affects of CBC are shown in the following images.
-
Molecule loaded
-
util.cbc command issued. Each chain gets its own color.
Usage
util.cbc selection, first_color, quiet
,
where
- selection defaults to 'all',
- first_color defaults to 7,
- quiet defaults to 1
Example
# color everything by chain
util.cbc