l_resize {loon} | R Documentation |
Resizes the toplevel widget to a specific size.
l_resize(widget, width, height)
widget |
widget path as a string or as an object handle |
width |
width in pixels |
height |
in pixels |
if(interactive()){
p <- l_plot(iris)
l_resize(p, 300, 300)
l_size(p) <- c(500, 500)
}