Tiago, It's a little hard to tell from the code, but it appears to be the first atom encountered in the traversal (the would usually be N). The byres option wasn't really intended for coloring by property, but rather, for coloring by sequence (e.g. in a rainbow).
If were were to change the current behavior, would you agree that using the numeric average of the value would make the most sense? Cheers, Warren -- DeLano Scientific LLC Subscriber Support Services mailto:del...@delsci.info > -----Original Message----- > From: pymol-users-boun...@lists.sourceforge.net > [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf > Of Tiago Barros > Sent: Saturday, February 23, 2008 11:43 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] Color residues by b-factor > > Dear all, > > If I set byres=1 in the spectrum command, which value is > attributed to the residue? The average from the atoms in that > residue? The highest? > The lowest? I could not find the answer in the wiki or the > mailing list. > > Thanks in advance for your help. > > Tiago > > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft Defy all > challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users