stext

0th

Percentile

Writes text in the margin along the sides of a plot

Writes text in the margin along the sides of a plot.

Usage
## S3 method for class '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"), ...)
Arguments
text
The text to be written. See mtext for details.
side
An integer specifying which side to write the text on. See mtext for details.
line
A numeric specifying on which line to write on.
pos
A numeric, often in [0,1], specifying the position of the text relative to the left and right edges.
margin
A numeric vector length two specifying the text margin.
charDim
A numeric vector length two specifying the size of a typical symbol.
cex
A numeric specifying the character expansion factor.
...
Additional arguments passed to mtext.
Value

  • Returns what mtext returns.

See Also

Internally mtext is used.

Aliases
  • stext.default
  • stext
Documentation reproduced from package R.utils, version 1.28.4, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.