Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add label and specific color for some resid #32

Open
huangziyan11111 opened this issue Jul 16, 2020 · 1 comment
Open

add label and specific color for some resid #32

huangziyan11111 opened this issue Jul 16, 2020 · 1 comment

Comments

@huangziyan11111
Copy link

Hi,
I'd like to emphasize one residue caused by mutation, like the red frame on the right side of this picture.
image
assuming we have a mutation on resid 11. I add the label by this code: "label.add('Atoms',[0],[11])". It showed like the following picture, I am confused why the label is "LEU9:C" because the specific number of resid is 11. On the other hand, Can I add self-defined text label?
image

The other question is about the color, how can I change the color of specific resid? and this change can be rendered out as file "*dat".

Could you help me about these questions about label and color? Thank you.

@jvermaas
Copy link
Contributor

There are certain things that are going to be MUCH easier with a standard installation of VMD, and this is one of them, since you get immediate visual feedback. In terms of adding a label, what most folks do is add them in post-processing, since VMD's labeling is butt-ugly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants