Jmol/Useful one-liners: Difference between revisions
From Proteopedia
Jump to navigationJump to search
| 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) | ||
set perspectiveDepth ON | |||
Perspective depth shows close objects larger than those far away. Orthoscopic view shows them at the same size. When looking at crystal symmetry, orthoscopic is sometimes preferable. | |||
<jmol> | |||
<jmolCheckbox> | |||
<scriptWhenChecked>set perspectiveDepth ON</scriptWhenChecked> | |||
<scriptWhenUnchecked>set perspectiveDepth OFF</scriptWhenUnchecked> | |||
<checked>true</checked> | |||
<text>Perspective depth</text> | |||
</jmolCheckbox> | |||
</jmol> | |||
<jmol><jmolButton><text>zoom visible</text><script>zoom 0</script></jmolButton></jmol> | <jmol><jmolButton><text>zoom visible</text><script>zoom 0</script></jmolButton></jmol> | ||
</StructureSection> | </StructureSection> | ||