annotation {RGrace}R Documentation

Text annotation

Description

A function defined in R-environment of "panel" class. panel$annotation() creates new multilined text annotation inside panel.

Arguments

... ... arguments are directly passed to underlying grid.annotation function (position of annotation, its content and graphical parameters)
select If select is zero new annotation is created. If select is non-zero then function return select-th annotation from panel's internal annotations stack.
update.GUI If TRUE widgets in figure are updated to reflect changes in annotations properties. Setting to FALSE are useful only then you change properties of several annotations in a loop and don't want figure to be updated after every iteration.

Value

Grob (GRaphic OBject, see grid.grob) of class "grid.annotation". Details about this class you can find in grid.annotation.

Definition

annotation(..., select=0, update.GUI=TRUE)

Author(s)

M.Kondrin

See Also

panel, grid.annotation

Examples

figure()$panel()$annotation(label="test",x=0,y=0)

[Package RGrace version 0.6-6 Index]