How about
zoomTo (atom expression) 0
Now, "0" is obviously nonsensical for a zoom setting, so this would
simply indicate that
we want Jmol to automatically set the zoom in the way you describe.
Bob
>If you take my previous example:
>
>jmolRadio("echo; wireframe off; restrict (80,81,82,83) AND protein
>AND NOT (*.H???, *.?H???); centre selected; wireframe 0.3; zoom 5000;
>select [CU], [ZN]; spacefill; configuration 1; display selected;",
>"", "");
>
>Instead of zoom 5000, I would want to zoom so that (80,81,82,83)
>were visible within the applet frame, occupying most of it. I need to
>do this programatically, so I have to refer to the protein residue
>numbers (which are retrieved from the database) or something generic
>like 'selected'. Specific atoms are out.
>
>David
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users