l_resize: Resize Plot Widget

View source: R/l_resize.R

l_resizeR Documentation

Resize Plot Widget

Description

Resizes the toplevel widget to a specific size.

Usage

l_resize(widget, width, height)

Arguments

widget

widget path as a string or as an object handle

width

width in pixels

height

in pixels

See Also

l_size, l_size<-

Examples

if(interactive()){

p <- l_plot(iris)

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

}

loon documentation built on July 9, 2023, 5:48 p.m.