iplot.list {iplots} | R Documentation |
These functions are used to manage currently open iPlots. Exactly one
of the open iPlots is the current plot. Every newly created iPlot
automatically becomes the current plot. Any plot specific functions, such
as ilines
operate on the current plot.
Please note that the functions below are provided for convenience
only. It is also possible to use plot objects directly without using
the plot list. Each function creating a new iPlot directly returns
the plot object which can then be used to any subsequent calls to
ilines
, iplot.opt
etc.
iplot.list
returns all currently registered iPlots
(even if they are hidden).
iplot.cur
returns the ID of the current plot.
iplot.next
and iplot.prev
return the ID
of the next resp. previous plot in the list relative to the plot
specified by the argument.
iplot.set
makes the plot with the specified ID current.
iplot.off
closes the plot.
iplot.list()
iplot.cur()
iplot.next(which=iplot.cur())
iplot.prev(which=iplot.cur())
iplot.set(which=iplot.next())
iplot.off(plot=iplot.cur())
which |
An integer specifying a plot number. |
plot |
Plot object or plot number of a plot to close. |
data(iris)
attach(iris)
iplot(Sepal.Width,Petal.Width)
ibar(Species)
iplot.list()