From: Rogan Carr (
Date: Sat Apr 18 2009 - 16:53:39 CDT

Hi Ryan,

You could just use multiple selections. Have one selection color by
atom type, then use a second selection to color carbons by residue (or
resid). If you want to use more specific colors, you can always
create selections by index (so, per carbon atom). If you have a large
structure, you can do this algorithmically with a tcl script (check
out the vmd manual for instructions on creating and coloring
representations from tcl).


On Apr 17, 2009, at 3:53 PM, Ryan Pavlovicz wrote:

> Hi, i would like to color my structures by atom type but would also
> like to set the carbon atoms of different regions to various non-
> standard colors -- to differentiate between subunits, for example.
> What is the easiest way to go about this? Thanks for your help,
> ryan