Bob wrote:
>
> fyi -- All you need there is
>
> AND NOT (*.H???, *.?H???);
>
> not all the other possibilities.
Blush, blush. Someone else wrote the original for me, honest. I hated
it.
>>
>> PS Angel said that zooming automatically until the selected molecules
>> fill the screen is not possible. How difficult would it be to do?
>>
>>
>>
> Define "fill the screen."
>
Do to the selected atoms what the default zoom 100 (or whatever the
syntax is) does to the whole molecule on startup.
> You can certainly:
>
> zoomTo (atomno=30) 300
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