To all you colouring aficionados,

I've updated the color_b.py script on my web page to include Mark Wall's
addition of user-defined, 3-colour, gradients.  Now you can type on the
command line something like:

  color_b selection, gradient=user, user_rgb=(0.,.3,1.,.8,.8,.8,1.,.8,0.)

to get colours that range from a light blue (0, .3, 1) , through grey 
(.8, .8, .8) to orange (1, 0.8, 0). Or you can use integer values between 0
and 255 like so:

  color_b selection, gradient=user,
user_rgb=(0.,77,255,204,204,204,255,204,0.)

If any one value is larger than 1, then it is assumed that all values are
between 0 and 255.  

You can find it in: 

  http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/

Cheers,
Rob
-- 
Robert L. Campbell, Ph.D.
Senior Research Associate/Adjunct Assistant Professor 
Botterell Hall Rm 644
Department of Biochemistry, Queen's University, 
Kingston, ON K7L 3N6  Canada
Tel: 613-533-6821            Fax: 613-533-2497
<robert.campb...@queensu.ca>    http://pldserver1.biochem.queensu.ca/~rlc

Reply via email to