VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Feb 12 2014 - 17:01:55 CST
- Next message: Josh Vermaas: "Re: Modulus atom selection"
- Previous message: Jacob Durrant: "Modulus atom selection"
- In reply to: Jacob Durrant: "Modulus atom selection"
- Next in thread: Josh Vermaas: "Re: Modulus atom selection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Wed, Feb 12, 2014 at 3:37 PM, Jacob Durrant <jacobdurrant_at_gmail.com> wrote:
> A few months ago I was visiting Klaus Schulten's group, and one of the VMD
> developers there showed me a very convenient atom selection for selecting
> every other atom, or every third atom, etc. It made viewing large structures
> much faster and easier. I've searched the internet and can't find that
> command anywhere. Can anyone here point me in the right direction?
you probably are looking for something like "(index % 4) == 1" which
picks every 4th atom starting from the second. check out this one and
the subpages:
http://www.ks.uiuc.edu/Research/vmd/vmd-1.9.1/ug/node88.html
axel.
>
> Thanks,
>
> Jacob
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 College of Science & Technology, Temple University, Philadelphia PA, USA International Centre for Theoretical Physics, Trieste. Italy.
- Next message: Josh Vermaas: "Re: Modulus atom selection"
- Previous message: Jacob Durrant: "Modulus atom selection"
- In reply to: Jacob Durrant: "Modulus atom selection"
- Next in thread: Josh Vermaas: "Re: Modulus atom selection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]