[Chimera-users] binned color ranges for scolor?

Elaine Meng meng at cgl.ucsf.edu
Wed Mar 11 13:43:05 PDT 2015


Hi Oliver,
Yes, but only by doing it sort of manually, i.e., by giving the same color twice at the lower and upper bounds of the bin.  For example, to color red up to .19999, blue .2-.29999, yellow .3 and up:

scolor #0 volume #1 cmap .19999,red:.2,blue:.29999,blue:.3,yellow

<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/scolor.html>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/scolor.html#options>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Mar 11, 2015, at 1:20 PM, Oliver Clarke <olibclarke at gmail.com> wrote:

> Hi all, 
> I was wondering whether it is possible to use binned ranges for scolor? 
> 
> Specifically, I would like to color one volume by the density values of a second volume, but rather than using a continuous color palette, I would like to highlight several discrete bins with particular colors - e.g coloring all values between 2 and 4 red, and all values between 6 and 8 green, while leaving other voxels uncolored (or colored gray, for example). 
> 
> Is this currently possible? I couldn’t figure it out - both cmap and map range seem to give continuous coloring.
> Best,
> Oliver.





More information about the Chimera-users mailing list