text {grDevices} |
R Documentation |
Add Text to a Plot
Description
text draws the strings given in the vector labels at
the coordinates given by x and y. y may be missing
since xy.coords(x, y) is used for construction of the
coordinates.
Usage
text(x, y, labels,
col = "black",
font = NULL);
Arguments
x
numeric vectors of coordinates where
the text labels should be written. If the length of
x and y differs, the shorter one is recycled. [as double]
y
numeric vectors of coordinates where
the text labels should be written. If the length of
x and y differs, the shorter one is recycled. [as double]
labels
[as string]
Details
Authors
graphics
Value
this function returns data object of type
any kind.
clr value class
Examples
[Package
grDevices version 1.0.0.0
Index]