Because I have a banner (echo with white background) using up part of 
Jmol, like this
http://www.umass.edu/molvis/tests/banner.html

I want the molecule to be centered in the remaining (black) space. 
That is, the center should be a bit below the center of Jmol.

I am using Jmol 11.8.8.

I have spent quite a bit of time without understanding how to do 
this. By "centered", I mean that rotations will be around the 
specified center, and more importantly, that zooms will not change the center.

I can get the molecule to be in the position I want, e.g. with 
"translate y 5". Then I can use "show orientation" and use the 
results in a "moveto" to put the molecule where I want it. However, 
when I subsequently zoom, the molcule moves up (undoing my "translate 
y 5") -- it snaps to the center of Jmol, instead of staying a bit 
down below the center of Jmol where I want it.

There is a "center" in the "moveto". I have tried putting that in zooms like

zoom {15.360737 26.123432 3.1130157} +5

I have "set windowCentered off" but zoom still moves the molecule's 
center to the center of Jmol as far as I can tell.

There is a command "set zoomcenter off" (if I recall correctly) in 
Chime, but I don't see it in Jmol.

I have played around with "centerat absolute" but the results are 
counterintuitive to me. (So I don't understand how it works.)

There is also something called "navigation center" in the moveto but 
I don't understand if this is what I need to change, and if so, how to do it.

Any and all help appreciated! Thanks, -Eric


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to