
Hi Elaine, Thank you! I will specify the color as you suggested. Best, Murugesh ________________________________ From: Elaine Meng <meng@cgl.ucsf.edu> Sent: Thursday, October 24, 2024 8:36 AM To: Murugesh Narayanappa <mnarayan@stanford.edu> Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu> Subject: Re: [chimerax-users] Coloring by attribute Hi Murugesh, There isn't a simple discrete coloring option, but you can do it simply by specifying the same color twice in a palette, once for the low end of its value range and once for the high end of its value range, for example: color bfactor palette 0,blue:2.9999,blue:3,red:9.9999,red:10,yellow I hope this helps, ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On Oct 23, 2024, at 8:53 PM, Murugesh Narayanappa via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi, I am Murugesh, a postdoctoral fellow in Dr. Rajat Rohatgi’s lab at Stanford University. I created an attribute file using z-scores and mapped these scores onto a structure, applying a gradient color scheme. However, I would like to know if there's a way to use discrete colors instead. Specifically, I want to apply a single color with uniform intensity for a selected range of z-scores (e.g., from 3 to 10) rather than using a gradient. I haven’t been able to figure this out. Is there an option or command I can try? I would appreciate any guidance. Thank you, Murugesh