Resize the rgl Window

render_resize_window(width = NULL, height = NULL)

Arguments

width

Default NULL, no change to the current value. New window width.

height

Default NULL, no change to the current value. New window height

Value

None

Examples

#Resize the rgl window to various sizes
montereybay_spatial |>
 sphere_shade(vertical_exaggeration = 10) |>
 plot_3d(vertical_exaggeration = 4,zoom=0.6,theta=-90,phi=30)
render_resize_window(width = 800, height = 800)
render_snapshot()


render_resize_window(width = 200, height = 200)
render_snapshot()

render_resize_window(width = 800, height = 400)
render_snapshot()