Hi Jacob,

The following command will make blue to purple spectrum.
  (please type in one line)

for i in range(1 + cmd.count_states()): cmd.set("cartoon_color", 
"0x%02x00ff" % (i * 255 / (2 + cmd.count_states())), "all", state=i)

You can change spectrum by changing
   "0x%02x00ff" % (i * 255 / (2 + cmd.count_states()))
part.


Best regards,

Takanori Nakane

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to