From: Charles M. <cm...@in...> - 2004-09-03 19:11:51
|
I have almost got the coloring working fast, but I have one last problem. I am just loading a pdb, then I am wanting to go through and set the 'q' variable for each atom to the value I am wanting to color on. How do I get a chempy handle on the molecule being displayed? 'get_model' seems to return a copy of the chempy model being displayed. Thanks, Charlie Warren DeLano wrote: > Charles, > > The fastest way to color by value is to have the value in the temperature > factor or occupany column and then use the spectrum command. For example: > > spectrum b > > spectrum b, blue_white_red > > spectrum b, blue_white_red, minimum=5, maximum=50 > > Etc. > > Cheers, > Warren > > > > -- > mailto:wa...@de... > Warren L. DeLano, Ph.D. > Principal Scientist > DeLano Scientific LLC > Voice (650)-346-1154 > Fax (650)-593-4020 > > > >>-----Original Message----- >>From: pym...@li... >>[mailto:pym...@li...] On Behalf Of >>Charles Moad >>Sent: Monday, August 23, 2004 5:50 AM >>To: pym...@li... >>Subject: [PyMOL] Fast Coloring >> >> I am working on a plugin that entails coloring residues >>based on a value. Right now creating a new color for each >>residue and setting the color corresponding works, BUT it is >>very inefficient and takes more than a tolerable amount of >>time to display. Is there a better approach? >> It is possible to assign a procedural color to the protein? >> >>Thanks, >> Charlie >> >> >>------------------------------------------------------- >>SF.Net email is sponsored by Shop4tech.com-Lowest price on >>Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic >>DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free >>Shipping and Free Gift. >>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >>_______________________________________________ >>PyMOL-users mailing list >>PyM...@li... >>https://lists.sourceforge.net/lists/listinfo/pymol-users >> > > > > |