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, ...)
x | the loon plot to be plotted on the current device |
---|---|
y | NULL, will be ignored. |
... | parameters passed to |
invisible()
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) }