Difference between revisions of "Mouse Manual"

From Jmol
Jump to navigation Jump to search
Line 12: Line 12:
  
 
<tr bgcolor="yellow" align="center">
 
<tr bgcolor="yellow" align="center">
<td></td>
+
<td></td>
<td>'''main button'''</td>
+
<td>'''main button'''</td>
<td>'''middle button'''</td>
+
<td>'''middle button'''</td>
<td>'''secondary button'''</td>
+
<td>'''secondary button'''</td>
 
</tr>
 
</tr>
 
<tr bgcolor="yellow" align="center">
 
<tr bgcolor="yellow" align="center">
<td></td>
+
<td></td>
<td>(left)</td>
+
<td>(left)</td>
<td>(middle)</td>
+
<td>(middle)</td>
<td>(right)</td>
+
<td>(right)</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td colspan="4"></td>
+
<td colspan="4"></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>'''Open Jmol menu'''</td>
+
<td>'''Open Jmol menu'''</td>
<td>Ctrl   click<br />or click on 'Jmol' logo</td>
+
<td>Ctrl + click<br />or click on 'Jmol' logo</td>
<td></td>
+
<td></td>
<td>click</td>
+
<td>click</td>
</tr><tr>
+
</tr>
<td colspan="4"></td>
+
<tr>
</tr><tr>
+
<td colspan="4"></td>
<td>'''Rotate around X,Y'''</td>
+
</tr>
<td>drag</td>
+
<tr>
<td></td>
+
<td>'''Rotate around X,Y'''</td>
<td></td>
+
<td>drag</td>
</tr><tr>
+
<td></td>
<td colspan="4"></td>
+
<td></td>
</tr><tr>
+
</tr>
<td>'''Move along X,Y (= translate)'''</td>
+
<tr>
<td>Shift   double-click and drag</td>
+
<td colspan="4"></td>
<td>double-click and drag</td>
+
</tr>
<td>Ctrl   drag</td>
+
<tr>
</tr><tr>
+
<td>'''Move along X,Y (= translate)'''</td>
<td></td>
+
<td>Shift + double-click and drag</td>
<td colspan="3" align="center">''works both when clicking on the molecule or away from it''</td>
+
<td>double-click and drag</td>
</tr><tr>
+
<td>Ctrl + drag</td>
<td colspan="4"></td>
+
</tr>
</tr><tr>
+
<tr>
<td>'''Reset and centre'''</td>
+
<td></td>
<td>Shift   double-click*</td>
+
<td colspan="3" align="center">''works both when clicking on the molecule or away from it''</td>
<td>double-click*</td>
+
</tr>
<td></td>
+
<tr>
</tr><tr>
+
<td colspan="4"></td>
<td></td>
+
</tr>
<td colspan="3" align="center">''*only works if double-click is done away from the molecule''</td>
+
<tr>
</tr><tr>
+
<td>'''Reset and centre'''</td>
<td colspan="4">
+
<td>Shift + double-click*</td>
</tr><tr>
+
<td>double-click*</td>
<td>'''Rotate around Z'''</td>
+
<td></td>
<td>Shift   drag horizontally</td>
+
</tr>
<td>drag horizontally</td>
+
<tr>
<td>Shift   drag horizontally<br />(possibly fails in Mac's)</td>
+
<td></td>
</tr><tr>
+
<td colspan="3" align="center">''*only works if double-click is done away from the molecule''</td>
<td colspan="4"></td>
+
</tr>
</tr><tr>
+
<tr>
<td>'''Zoom in / out'''</td>
+
<td colspan="4">
<td>Shift   drag vertically</td>
+
</tr>
<td>drag vertically</td>
+
<tr>
<td></td>
+
<td>'''Rotate around Z'''</td>
</tr><tr>
+
<td>Shift + drag horizontally</td>
<td></td>
+
<td>drag horizontally</td>
<td colspan="3" align="center">or use mouse wheel</td>
+
<td>Shift + drag horizontally<br />(possibly fails in Mac's)</td>
</tr><tr>
+
</tr>
<td colspan="4"></td>
+
<tr>
</tr><tr>
+
<td colspan="4"></td>
<td></td>
+
</tr>
<td colspan="3" align="center">''Implemented only on Jmol 10.00.22 prerelease and later:<br />Only work after a <tt>slab on</tt> command has been issued''</td>
+
<tr>
</tr><tr>
+
<td>'''Zoom in / out'''</td>
<td>'''Slab''' (slab from front)</td>
+
<td>Shift + drag vertically</td>
<td>Ctrl Shift   drag (vertically) *</td>
+
<td>drag vertically</td>
<td></td>
+
<td></td>
<td></td>
+
</tr>
</tr><tr>
+
<tr>
<td>'''Depth''' (slab from back)</td>
+
<td></td>
<td>Ctrl Shift   double-click and drag (vertically) *</td>
+
<td colspan="3" align="center">or use mouse wheel</td>
<td></td>
+
</tr>
<td></td>
+
<tr>
</tr><tr>
+
<td colspan="4"></td>
<td>'''Shift the slab''' (change slab and depth maintaining constant thickness)</td>
+
</tr>
<td>Alt Ctrl Shift   drag (vertically) *</td>
+
<tr>
<td></td>
+
<td></td>
<td></td>
+
<td colspan="3" align="center">''Implemented only on Jmol 10.00.22 prerelease and later:<br />Only work after a <tt>slab on</tt> command has been issued''</td>
</tr><tr>
+
</tr>
<td></td>
+
<tr>
<td colspan="3" align="center">''*if this fails on a Mac, try pressing the mouse button first, then the Ctrl Shift keys, then drag''</td>
+
<td>'''Slab''' (slab from front)</td>
</tr><tr>
+
<td>Ctrl+Shift + drag (vertically) *</td>
<td></td>
+
<td></td>
<td colspan="3" align="center">''Slab can be tested in [http://www2.uah.es/biomodel/pruebas/jmol/slab/inicio.htm this page]''</td>
+
<td></td>
</tr></table>
+
</tr>
 +
<tr>
 +
<td>'''Depth''' (slab from back)</td>
 +
<td>Ctrl+Shift + double-click and drag (vertically) *</td>
 +
<td></td>
 +
<td></td>
 +
</tr>
 +
<tr>
 +
<td>'''Shift the slab''' (change slab and depth maintaining constant thickness)</td>
 +
<td>Alt+Ctrl+Shift + drag (vertically) *</td>
 +
<td></td>
 +
<td></td>
 +
</tr>
 +
<tr>
 +
<td></td>
 +
<td colspan="3" align="center">''*if this fails on a Mac, try pressing the mouse button first, then the Ctrl Shift keys, then drag''</td>
 +
</tr>
 +
<tr>
 +
<td></td>
 +
<td colspan="3" align="center">''Slab can be tested in [http://biomodel.uah.es/Jmol/slab/ this page]''</td>
 +
</tr>
 +
</table>
  
 
<br /><br />
 
<br /><br />

Revision as of 22:58, 7 June 2007

Jmol / JSmol Tutorials

Geographylogo.png

Reference: English – Other: Español · Français · 日本語 ·


Manual for manipulating the molecules using the mouse in Jmol (also called 'mouse gestures')

Notes:

  1. In the usual configuration, "main button" is the left button, and "secondary button" is the right button.
  2. Reportedly, on single-button mice Alt drag may be equivalent to drag with middle button.


main button middle button secondary button
(left) (middle) (right)
Open Jmol menu Ctrl + click
or click on 'Jmol' logo
click
Rotate around X,Y drag
Move along X,Y (= translate) Shift + double-click and drag double-click and drag Ctrl + drag
works both when clicking on the molecule or away from it
Reset and centre Shift + double-click* double-click*
*only works if double-click is done away from the molecule
Rotate around Z Shift + drag horizontally drag horizontally Shift + drag horizontally
(possibly fails in Mac's)
Zoom in / out Shift + drag vertically drag vertically
or use mouse wheel
Implemented only on Jmol 10.00.22 prerelease and later:
Only work after a slab on command has been issued
Slab (slab from front) Ctrl+Shift + drag (vertically) *
Depth (slab from back) Ctrl+Shift + double-click and drag (vertically) *
Shift the slab (change slab and depth maintaining constant thickness) Alt+Ctrl+Shift + drag (vertically) *
*if this fails on a Mac, try pressing the mouse button first, then the Ctrl Shift keys, then drag
Slab can be tested in this page



How to select

  • Use the appropriate picking command, e.g.

set picking group

to toggle selection for an entire amino acid by clicking on one of its atoms,
  • Click on an atom will toggle selection status.
  • Most useful while

set display selected

is set to monitor the selection status.


How to make measurements

  • Distance (2 atoms):
    1. double-click on the starting atom
    2. to fix a distance measurement, double-click on second atom
  • Angle (3 atoms):
    1. double-click on the starting atom
    2. click on the second atom (central atom in angle)
    3. to fix an angle measurement, double-click on third atom
  • Torsion angle or dihedral (4 atoms)
    1. double-click on the starting atom
    2. click on the second atom
    3. click on the third atom
    4. to fix a dihedral angle measurement, double-click on fourth atom
  • In all cases:
    • move pointer over destination atom in order to see measurement results without leaving a permanent measurement
    • move outside the window in order to cancel the measurement
    • make the same measurement again in order to delete the measurement