Skip to content

add label and specific color for some resid #32

Open

Description

@huangziyan11111

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.

Activity

  1. jvermaas commented on Jul 16, 2020

    @jvermaas
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions