From: Warren D. <wa...@de...> - 2009-01-07 18:46:55
|
Yes, although it is limited to uniform representational coloring: fetch 1nmr set all_states # the object has 20 states, so we can set separate line colors # for each state as follows: for a in range(1,21): cmd.set("line_color","auto","1nmr",a) # same goes for cartoon_color, etc. Perhaps a better approach would be: # start over dele all fetch 1nmr # break apart the object by state split_states 1nmr # delete the original dele 1nmr # and color by object (carbons only) util.color_objs("elem c") # (all atoms) util.color_objs("all") Cheers, Warren > -----Original Message----- > From: Jochen Hub [mailto:jh...@gw...] > Sent: Tuesday, January 06, 2009 12:30 PM > To: pym...@li... > Subject: [PyMOL] Coloring frames via spectrum > > Hi everyone, > > I have a set of 30 frames and I use "set show_all,1" to display them > all. Now I want to visualize all frames by giving the protein in each > frame a different color. If possible, I would like to use the spectrum > command for that since it provides all the pre-defined color gradients. > > Is there a way do that? > > Thanks a lot, > Jochen > > ------------------------------------------------------------------------ -- > ---- > Check out the new SourceForge.net Marketplace. > It is the best place to buy or sell services for > just about anything Open Source. > http://p.sf.net/sfu/Xq1LFB > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users > > > |