We apologize for Proteopedia being slow to respond. For the past two years, a new implementation of Proteopedia has been being built. Soon, it will replace this 18-year old system. All existing content will be moved to the new system at a date that will be announced here.
Jmol/Useful one-liners
From Proteopedia
(Difference between revisions)
(→Examples) |
(→Examples) |
||
| Line 84: | Line 84: | ||
Zoom out so that all displayed atoms etc. fit into the window (also centers on visible) | Zoom out so that all displayed atoms etc. fit into the window (also centers on visible) | ||
| + | |||
| + | <jmol><jmolButton><text>zoom visible</text><script>zoom 0</script></jmolButton></jmol> | ||
| + | |||
set perspectiveDepth ON | set perspectiveDepth ON | ||
| Line 97: | Line 100: | ||
</jmolCheckbox> | </jmolCheckbox> | ||
</jmol> | </jmol> | ||
| - | |||
| - | <jmol><jmolButton><text>zoom visible</text><script>zoom 0</script></jmolButton></jmol> | ||
</StructureSection> | </StructureSection> | ||
Revision as of 16:37, 31 October 2020
This is a collection of useful one-liners in Jmol. While the Scene authoring tools give you access to a lot of Jmol's functionality, they don't cover the entire scripting language. However, the SAT contains an input box for entering Jmol commands directly. This page collects commands that might be entered into that textbox to achieve effects not otherwise possible. Viewers of Proteopedia pages might find occasional use of these one-liners as well. To enter them, you first have to right-click on the Jmol window and open a console. For more complex Jmol commands, see Jmol/Using the console.
Examples
| |||||||||||
