From: Davide Provasi (davide.provasi_at_gmail.com)
Date: Wed Jun 08 2011 - 13:23:40 CDT

abs(x-y)<2 seems to work.
Davide

On Wed, Jun 8, 2011 at 8:29 PM, Magnus Andersson
<magnus_at_helium.biomol.uci.edu> wrote:
> Hi,
>
> I want to make a selection in VMD that runs along the xy-diagonal. In a similar fashion as for instance, water and x>0.
>
> Is this possible?
>
> Best regards /
>
> Magnus
>
> ===================================
> Magnus Andersson, PhD
> Department of Physiology and Biophysics
> University of California, Irvine
> Irvine, CA 92697-4560
> (949) 824-6993
> Fax: (949) 824-8540
> ===================================
>
>
>
>
>
>
>

-- 
Davide Provasi
Dept. of Structural and Chemical Biology
Mount Sinai School of Medicine
Icahn Medical Institute Building
1425 Madison Avenue, Box 1677
New York, NY 10029-6574
Tel.:212-659-8618
Fax: 212-849-2456