Difference between revisions of "CBC"

From PyMOLWiki
Jump to navigation Jump to search
m (Util.cbc moved to CBC: Can't link to the original name for some reason. Will redirect.)
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 18: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.

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

See Also