Functions of setting viewer properties, such as width, height, background color, etc. The viewer size can be adjusted automatically under normal circumstances.
m_set_width(id, width)
m_set_height(id, height)
m_set_background_color(id, hex, alpha)R3dmol id or a r3dmol object (the output from
r3dmol())
Weight and height numeric in pixels
Hex code specified background color, or standard color spec
character
Alpha level numeric (default 1.0)
R3dmol id or a r3dmol object (the output from
r3dmol())