[Chimera-users] about select and label a residul with another different from the color of the whole model

Elaine Meng meng at cgl.ucsf.edu
Thu Nov 9 09:50:43 PST 2017


Hi Lei Zhang,
You can use the “color” command to color labels separately from the other things.  For example, commands like these to change all residue labels or only a specific residue label:

color cyan,lr
color yellow,lr #0:500

… the “,lr” part means residue label.  You could also use “,l” (these are the letter L, not number 1) for all kinds of labels, atom and/or residue.  There is no space after the comma. You can also color ribbons, surfaces, etc. separately from the atoms.  This is explained in the “color” help page:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/color.html>

You could also do these things with the menu, Actions… Color… all options… to open a coloring dialog, in which you could change the choice under “Coloring applies to”

For a figure, however, you may want the fancier “2D Labels” (menu: Tools… Depiction… 2D Labels):
<http://www.rbvi.ucsf.edu/chimera/docs/ContributedSoftware/2dlabels/2dlabels.html>

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


> On Nov 8, 2017, at 7:32 PM, 张雷 <leizhang at hsc.pku.edu.cn> wrote:
> 
> Hi the experts of Chimera,
> Good noon! I had selected a residul and labeled it with the commands 
> 
> sel #0:500
> rlabel #0:500.
> 
> Then, the label can be displayed on the selected residul. How could I change the color of the label and display the label in a different color different from the color of the whole model? Thank a lot!
> Sincerely,
> Lei Zhang
> Peking University, Beijing, China





More information about the Chimera-users mailing list