Eran, the zoom is by percent, where 100% is the distance of the edge
of a cube containing the entire model. So zoom 100% allows full
rotation of the model within the window (provided you also SET
ZOOMLARGE FALSE) And 50% gets you twice the width as zoom 100%. These
dimensions can be determined by looking at

$ getproperty "boundboxinfo"

boundboxinfo    
center  {10.5935 10.2105 6.0790005}
vector  {13.6905 10.7265005 13.500999}
corner1 {24.284 20.937 19.58}
corner0 {-3.0970001 -0.51600075 -7.4219995}

or, for example:

$ x=getproperty("boundboxinfo","corner1")
$ print x
{24.284 20.937 19.58}

var x = show("boundbox")


On Wed, Jan 21, 2009 at 7:56 AM, Eran Hodis <eranho...@gmail.com> wrote:
> Does anyone know how to translate (in either the x or the y axis) by a
> specific number of Angstroms?  Also is it possible to zoom in/out by a
> specific number of Angstroms?

It's not exactly clear how that would work with translation, as the
front part is generally at a different scale than the back part, but
perhaps it could be defined in terms of the center. That's an idea.

translate x 0.3 [nm|angstroms]

> Thanks,
> Eran
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> 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
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to