Description Usage Arguments Value Examples
Zoom to center of atom selection. The slab will be set appropriately for the selection, unless an empty selection is provided, in which case there will be no slab.
1 | m_zoom_to(id, sel, animationDuration, fixedPath)
|
id |
R3dmol |
sel |
Selection specification specifying model and atom properties to select. Default: all atoms in viewer. |
animationDuration |
an optional parameter of milliseconds |
fixedPath |
if |
R3dmol id
or a r3dmol
object (the output from
r3dmol()
)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.