Hi, a zoomTo-related question - 

Can one reproduce the 'reset' (the initial orientation of the molecule) positioning of the structure using zoomTo rather than moveTo?

zoomTo (all) 
can result in a different position on screen. It is translated relative to 'reset'. 

Thanks,
Frieda

On Aug 30, 2007, at 5:22 AM, Angel Herraez wrote:

On 29 Aug 2007 at 0:04, Bob Hanson wrote:

> try the version at
> http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11_3.zip

Bob, yes, everything works well in 11.3.13 I just downloaded from your site
But if fails in previous 11.3.x and also in 11.2.9

I see now that it sometimes depends on the history or accumulation of zoomTo commands, but it fails often: open 11.2.9 and try

zoomto 0.5 (all) 200;
show zoom  # gives 200 OK ;
zoomto 0.5 (all) 200;
show zoom  #gives 400 !! ;

reset;
zoomto 0.5 200;
show zoom   #gives 100 !! ;

Question: from the doc, I gather that atom expression can be omitted (and it's so indeed in 11.3.13). If I do so, I always get half the zoom. For other combinations, I get double.

More:

reset;
zoomto 0.5 (all) *2;
show zoom  #gives 200 ;
zoomto 0.5 (all) *2;
show zoom  # gives 800 !! ;
 

>
> Angel Herraez wrote:
>
> >Hello
> >I found what I see as a wrong behaviour of zoomTo in 11.2.4, it is still there in both
> >11.2.9 and 11.3.11:
> >(11.0.3 and 11.2.0 work OK)
> >
> >Summary:
> ># zoomTo with all parameters gives twice the zoom it should
> ># time can be omitted (allowed, defaults to 1 sec)
> ># if atom expression is omitted (allowed or not?), the zoom is half it should be
> ># if zoom is omitted, it works OK (x2 out)
> >
> >All starting from zoom 100:
> >                               gives    error
> >zoomto 0.5 (all) 200  ==> 400           2x
> >zoomto 0.5 (all) 300  ==> 600           2x
> >zoomto (all) 200  ==> 400     2x
> >zoomto (all) 300  ==> 600     2x
> >zoomto 0.5 200  ==> 100      1/2
> >zoomto 0.5 300  ==> 150      1/2
> >zoomto 0.5 (all) *2  ==> 400 2x
> >zoomto 0.5 (all) *3  ==> 600 2x
> >zoomto (all) *2  ==> 400       2x
> >zoomto (all) *3  ==> 600       2x
> >zoomto 0.5 *2  ==> 100        1/2
> >zoomto 0.5 *3  ==> 150        1/2
> >zoomto 0.5 (all) /2  ==> 100  2x
> >zoomto 0.5 (all)  ==> 200     ok
> >
> >
> >
> >-------------------------------------------------------------------------
> >This SF.net email is sponsored by: Splunk Inc.
> >Still grepping through log files to find problems?  Stop.
> >Now Search log events and configuration files using AJAX and a browser.
> >Download your FREE copy of Splunk now >>  http://get.splunk.com/
> >_______________________________________________
> >Jmol-users mailing list
> >Jmol-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/jmol-users
> > 
> >
>
>
> --
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

///////////////////////////////////////////


Frieda Reichsman

Molecules in Motion

Interactive Molecular Structures

http://www.moleculesinmotion.com


///////////////////////////////////////////