[Chimera-users] about select and label a residul with another different from the color of the whole model
leizhang at hsc.pku.edu.cn
Thu Nov 9 22:20:29 PST 2017
Thank for your kindly help! I have tried the command "color red,lr #0:500", but this is a chimera error "color 'red,'is undefined". Therefore, I defined the red color by command "colordef red 1 0 0" and "colordef transparent_red 1 0 0". When I carried out the command "color red,lr#0:500", there was a chimera error "mangled atom specifier". The color of the label can not be changed. I didn't know why. However, the color dialog can work very well. Thanks a lot!
> 发件人: "Elaine Meng" <meng at cgl.ucsf.edu>
> 发送时间: 2017-11-10 01:50:43 (星期五)
> 收件人: "张雷" <leizhang at hsc.pku.edu.cn>
> 抄送: Chimera_mailing_list <chimera-users at cgl.ucsf.edu>
> 主题: Re: [Chimera-users] about select and label a residul with another different from the color of the whole model
> 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:
> 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):
> I hope this helps,
> 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