VMD-L Mailing List
From: Eric H. Lee (ericlee_at_ks.uiuc.edu)
Date: Mon Oct 12 2009 - 21:31:18 CDT
- Next message: Schreiner Eduard: "Re: Disulfude bonds"
- Previous message: Mengjuei Hsieh: "Re: VMD 1.8.7 CUDA on Mac OS X 10.6.1"
- In reply to: Axel Kohlmeyer: "Re: colour residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Christine -
Make sure to follow what Axel and Leo suggested, not what I wrote
earlier!
Eric
On Oct 12, 2009, at 7:05 PM, Axel Kohlmeyer wrote:
> On Mon, 2009-10-12 at 18:58 -0400, Christine Horejs wrote:
>> Hi everybody,
>>
>>
>> does anyone know, if it is possible to color every second residue in
>> another color independently of the residue type? So, let's say every
>> second residue blue, and the other ones red? Does this work in VMD?
>
> yes. there are several ways to do it.
> one would be:
>
> set sel1 [atomselect top "residue % 2 == 0"]
> set sel2 [atomselect top "residue % 2 == 1"]
>
> $sel1 set beta 0.0
> $sel2 set beta 1.0
>
> and then change the coloring scheme to Beta.
>
> cheers,
> axel.
>
>
>>
>>
>> Thank you all for your help,
>>
>>
>> Christine
> --
> Dr. Axel Kohlmeyer akohlmey_at_gmail.com
> Institute for Computational Molecular Science
> College of Science and Technology
> Temple University, Philadelphia PA, USA.
- Next message: Schreiner Eduard: "Re: Disulfude bonds"
- Previous message: Mengjuei Hsieh: "Re: VMD 1.8.7 CUDA on Mac OS X 10.6.1"
- In reply to: Axel Kohlmeyer: "Re: colour residues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]