Hubert,

The trick for doing this is to load each state into a "discrete" object,
which maintains separate atoms for each state.

load $TUT/1hpv.pdb, discrete=1
load $TUT/1hpv.pdb, discrete=1

color red, state 1
color blue, state 2

Cheers,
Warren

--
mailto:war...@delsci.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
400 Oyster Pt. Blvd., Ste 213
South San Francisco, CA 94080
(650)-346-1154  Fax:(650)-593-4020
  

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Hubert Kettenberger
> Sent: Friday, October 15, 2004 4:59 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] How to apply state-specific colours?
> 
> Dear all!
> 
> I would like to prepare a an animation in which I would like 
> to follow one certain residue on its journey through an 
> enzyme in a stepwise manner. To do so, I would like to color 
> a certain residue, say, red in state one and grey in all 
> other frames. In frame 2, the next residue should be red, all 
> others grey. Frame three has the third residue red, all 
> others grey etc.
> 
> Is there a command like
> 
> color red, residue 1 and state 1
> color red, residue 2 and state 2
> etc.,
> 
> i.e. is there a way to apply colours selectively to a certain state?
> 
> Thanks in advance for your ideas!
> 
> Hubert
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal Use IT products in your business? Tell us 
> what you think of them. Give us Your Opinions, Get Free 
> ThinkGeek Gift Certificates! Click to find out more 
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 



Reply via email to