Writes text in the margin along the sides of a plot.
# S3 method for default
stext(text, side=1, line=0, pos=0.5, margin=c(0.2, 0.2),
charDim=c(strwidth("M", cex = cex), strheight("M", cex = cex)), cex=par("cex"), ...)
Returns what mtext
returns.
The text to be written. See mtext
for details.
An integer
specifying which side to write the text on. See mtext
for details.
A numeric
specifying on which line to write on.
A numeric
, often in [0,1], specifying the position
of the text relative to the left and right edges.
A numeric
vector
length two specifying the size of a
typical symbol.
A numeric
specifying the character expansion factor.
Additional arguments passed to mtext
.
Henrik Bengtsson
Internally mtext
is used.