loon (version 1.3.3)

plot.loon: Plot the current view of any loon plot in the current device.

Description

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.

Usage

# 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

loonGrob, grid.loon, l_export

Examples

Run this code
# NOT RUN {
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)
}

# }

Run the code above in your browser using DataLab