VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Wed Feb 12 2014 - 17:01:55 CST
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
-- 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.