Learn R Programming

iplots (version 1.0-3)

iobj.list: Interactive objects (iObjects) management functions.

Description

These functions are used to manage iObjects of an iPlot. Exactly one of the iObjects is the current one (for each iPlot). Every newly created iObject automatically becomes current. iobj.list returns all iObjects of the current iPlot. iobj.cur returns the current iObject. iobj.next and iobj.prev return the ID of the next resp. previous object in the list relative to the object specified by the argument. iobj.set makes the object with the specified ID current. iobj.get returns the object specified by its ID. iobj.rm removes the object

== and != operators can be used to compare two iObjects

Usage

iobj.list()
iobj.cur()
iobj.next(which=iobj.cur())
iobj.prev(which=iobj.cur())
iobj.set(which=iobj.next())
iobj.get(pos, plot=iplot.cur())
iobj.rm(which=iobj.cur())
`==.iobj`(a,b)
`!=.iobj`(a,b)

Arguments

which
An object or an integer specifying the object number.
pos
ID of an object
plot
plot whose object is to be retrieved.
a
object to compare
b
object to compare

See Also

ilines, iabline