On 08/01/2013 03:36 PM, Victor Rosas Garcia wrote:
> Hello everybody,
>
> I want to use Jmol to display the atoms within a certain range of distances
> from a selected atom. Let's say I want to visualize the atoms within the
> range 8.0 to 8.5 angstroms from atom number 860. If I use
>
> display within(8.5, atomno=860)
>
> I see all the atoms from 0 to 8.5 angstroms.  If I use:
>
> hide within (8.0, atomno=860) I see all the atoms at 8.0 and beyond.
>
> So, my question is: how can I define an atom expression that selects all
> atoms at least 8.0 angstroms away from atom 860, but not farther away than
> 8.5 angstroms?
>
> any help appreciated
>
I think this should work (not tested):

display within(8.5, atomno=860) and not within(8.0, atomno=860)

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to