
adds one or more lines of text, centered around "mid" in an multigonal box
textmulti(mid, radx, rady = radx*length(lab), lwd = 1,
shadow.size = 0.01, adj = c(0.5, 0.5),
lab = "", box.col = "white", lcol = "black",
shadow.col = "grey", angle = 0, nr = 6, ...)
midpoint (x,y) of the box.
horizontal radius of the box.
vertical radius of the box.
line width of line surrounding the box.
relative size of shadow.
text adjustment.
one label or a vector string of labels to be added in box.
fill color of the box.
line color surrounding box.
color of shadow.
rotation angle, degrees.
the number of angles.
other arguments passed to function textplain.
see shadowbox
for specifications of the multigonal box and
its shadow.
textdiamond
, textellipse
, textempty
,
texthexa
, textplain
, textrect
,
textround
.
# NOT RUN {
openplotmat(xlim = c(-0.1, 1.1), main = "textmulti")
for (i in 1:10)
textmulti(mid = runif(2), col = i, radx = 0.1, rady = 0.1,
lab = LETTERS[i], cex = 2, nr = trunc(i/1.5)+3)
# }
Run the code above in your browser using DataLab