From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Fri Jun 27 2008 - 12:34:01 CDT

"within" refers to specific atoms matching a selection criteria, so what
you're actually doing is selecting everything within 10 angstroms of
atoms that are exactly on the z axis (probably nothing). Try
(x*x + y*y) < 100
instead.
Peter

dimka wrote:
> Hi VMD list, can you please tell me how to select a cylindrical volume?
>
> i've tried something like this but it doesn't work
>
> "within 10 of (x==0 and y==0)"
>
> supposedly this command should select a cylindrical slab in the Z
> direction... but it doesn't.
>