This is a wrapper for grid.loon() to simplify the plotting of loon plots on any device. Frequent users are recommended to use grid.loon() for more control.

# S3 method for loon
plot(x, y = NULL, ...)

Arguments

x

the loon plot to be plotted on the current device

y

NULL, will be ignored.

...

parameters passed to loonGrob

Value

invisible()

See also

Examples

if(interactive()) { loonPlot <- with(iris, l_plot(Sepal.Length, Sepal.Width)) loonPlot['color'] <- iris$Species loonPlot['selected'] <- iris$Species == "versicolor" l_scaleto_selected(loonPlot) loonPlot['showGuides'] <- TRUE plot(loonPlot) }