Learn R Programming

loon (version 1.4.1)

l_size<-: Resize Plot Widget

Description

Resizes the toplevel widget to a specific size. This setter function uses l_resize.

Usage

l_size(widget) <- value

Arguments

widget

widget path as a string or as an object handle

value

numeric vector of length 2 with width and height in pixels

See Also

l_resize, l_size

Examples

Run this code
if(interactive()){

p <- l_plot(iris)

l_resize(p, 300, 300)
l_size(p) <- c(500, 500)

}

Run the code above in your browser using DataLab