On 12/19/2011 11:20 PM, Jason Vertrees wrote:
> Cleaned up a little, this would make a nice simple addition to the
> PyMOLWiki script library.

I can do it, on the basis of spectrumany.

Cheers,
   Thomas

> Cheers,
>
> -- Jason
>
> On Mon, Dec 19, 2011 at 2:13 AM, Takanori Nakane
> <t.nak...@mail.mfour.med.kyoto-u.ac.jp>  wrote:
>> 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

-- 
Thomas Holder
MPI for Developmental Biology
Spemannstr. 35
D-72076 Tübingen

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
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