Hi Frieda,
I tried this but encountered some problems. (Jmol 11.5.51)
When I selected a group of atoms and then typed "zoomto 0 selected", what
happened is a 2 fold zoom out instead of a zoom in.
Best regards,
Eran
On Wed, Aug 20, 2008 at 1:02 AM, Reichsman Frieda <[EMAIL PROTECTED]> wrote:
> Hi Thomas,
> I think what you are looking for is fulfilled by the zoomto command.
>
> zoomto (atomset) 0
>
> will bring the atomset to (approximately) occupy the applet display.
>
> I don't think this (the zero) is implemented for zoom, but I have not tried
> it. Also, zoomto has a timing parameter, so if you wanted the zoom to be
> instant, you could say
>
> zoomto 0 (atomset) 0
>
> -the first zero is the time in seconds that the zoom will occur over, the
> second zero is the "fit the atomset to the display" setting.
>
> See the documentation for zoomto for more options.
>
> Frieda
>
> //////////////////////////////////////
>
> Frieda Reichsman, PhD
> Molecules in Motion
> Interactive Molecular Structures
> http://www.moleculesinmotion.com
> 413-253-2405
>
> //////////////////////////////////////
>
>
>
>
> On Aug 19, 2008, at 2:34 PM, Thomas Stout wrote:
>
>
> Hi All --
>
> I've been mucking about with "zoom" today and wondered this: is it expected
> behavior that the 100% level for zoom should be held constant for a loaded
> model? What I mean is this: when a structure is loaded, the 100% level is
> calculated by Jmol to be the factor at which "all atoms are completely
> visible on the screen through all rotations using the default vanderWaals
> rendering percentage." If I then issue "zoom 200", the display is zoomed in
> by 200 percent -- expected behavior. If, however, I issue: "zoom (atom
> expression) 100" (for example, "zoom (*:B) 100"*), *would it* *not be
> reasonable to expect the display to be altered such that the stated atom
> expression is now scaled to (approximately) fit the Jmol display?
>
> I'd like to use this to automatically transition to selected portions of
> PDB files (such as ligands or amino acid ranges of interest) and have the
> proper display zoom auto-calculated.
>
> Is there another way to do this? Can I calculate on the fly a boundbox for
> the current selection and set the zoom level to fill the display with this
> new boundbox?
>
> Cheers,
> Tom
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
>
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users