Ah, yes. The "center atomno=1" undoes "translate x 50" but does not
undo "zoom 500". The scaling I'm referring to is independent of the
zoom. Thus,
load 1l38.pdb
zoom 500
is a different scale from
load 1l38.pdb
center atomno=1
zoom 500
I think you will see that if you then "zoom 100" after your commands,
the model has been scaled down by about a factor of two to fit the
screen. This occurred in response to the "center atomno=1" command. If
you had instead "set picking center" and then clicked on atom 1, then
there would be no scaling change.
I should have said "scaled to fit the screen at a zoom of 100."
See notes below.
Frieda Reichsman wrote:
Using 1L38.pdb, 10.00.60,
zoom 500
translate x 50
center atomno=1
The atom jumps to the center, but the molecule does not rescale, that
is, it does not zoom out dso the whole structure can be seen in the
Jmol window. I am not "complaining" - this is *not* a problem from my
perspective, just noting the behavior.
In effect, it did rescale, but with the jump to distract you, you
didn't notice that it also shrunk by about 50%. I'm glad you aren't
complaining, because this IS the intended behavior! To reset the
scaling to the original, one can invoke either:
center *
or
reset
Bob
Frieda
On Apr 10, 2006, at 10:22 AM, Bob Hanson wrote:
Yes, same for App and Applet. You might want to check your version.
Jmol.jar 1a3n.pdb
$ center (atomno=1)
definitely rescales to fit the screen. What is your exact test, Frieda?
Frieda Reichsman wrote:
Is this supposed to be the case for the application as well as the
applet? I am currently testing in the application (10.00.60) and
find this *not* to be true - Jmol is not rescaling the molecule to
fit the window when the "center" command is used. So, before I go
further... should I be testing the applet as opposed to the
application?
Frieda
///////////////////////////////////////////
Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com
///////////////////////////////////////////
--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users
///////////////////////////////////////////
Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com
///////////////////////////////////////////
--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users