element {RGrace} | R Documentation |
A function defined in R-environment of class "panel" (method of "panel" class). panel$element()
creates new data line
(i.e. symbols with connection line and symmetric error bars) inside panel
.
x,y |
coordinates of data points. |
... |
... arguments are directly passed to grid.data function (see
grid.data for details).
|
Elabel |
Character string identifying the data line. It is not used internally and may
have arbitrary value. Two elements in panel may have the same
name. By default it is a concatenation x and y "values".
|
select |
If select is zero new data line is created. If select is non-zero then
function return select -th element from panel's internal elements
stack.
|
rescale |
If TRUE parent panel's x/y scales are changed to make all
elements in panel visible.
|
update.GUI |
If TRUE widgets in figure are updated to reflect changes in
elements properties. Setting to FALSE are useful only then you
change properties of several elements in a loop and don't want
figure to be updated after every iteration.
|
Grob (GRaphic OBject, see grid.grob
) of class "grid.data". Details
about this class you can find in grid.data
.
element( y, x=seq(x), ...,
Elabel=paste(deparse(substitute(y)),deparse(substitute(x)),sep="~"),
select=0, rescale=TRUE, update.GUI=TRUE)
M.Kondrin
figure()$panel()$element(c(1,2,3,4)^3)