l_size<- | R Documentation |
Resizes the toplevel widget to a specific size. This setter
function uses l_resize
.
l_size(widget) <- value
widget |
widget path as a string or as an object handle |
value |
numeric vector of length 2 with width and height in pixels |
l_resize
, l_size
if(interactive()){
p <- l_plot(iris)
l_resize(p, 300, 300)
l_size(p) <- c(500, 500)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.