From: John Stone (
Date: Tue Dec 06 2005 - 16:40:15 CST

  You can accomplish this in a couple different ways:

1) Set the color scale with your own custom colors and enable the update color
   every frame checkbox in the trajectory tab. See the tricolor_scale
   example procedure here:


2) Create four reps with atom selections that specify each of the 4 possible
   values you're interested in, use the color by ColorID method and select a
   different color for each of the four possibilities, then enable the
   "update selection every frame" checkbox in the trajectory tab.

  John Stone

On Tue, Dec 06, 2005 at 01:48:55PM -0500, Guanglei Cui wrote:
> Hi,
> I have a question about coloring selections over a trajectory of
> structures. I can do it with color scales by setting the "user"
> attribute, but I'd like to use discrete colors because there are only 4
> possible values. How would I do it if it can be done? Thanks.
> Regards,
> Guanglei
> BTW, is there a complete list of attribute of selection?

NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email:                 Phone: 217-244-3349
  WWW:      Fax: 217-244-6078