texthexa.Rdadds one or more lines of text, centered around "mid" in an hexagonal box.
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.
other arguments passed to function textplain.
see shadowbox for specifications of the hexangular box
and its shadow
openplotmat(xlim = c(-0.1, 1.1), main = "texthexa")
for (i in 1:20)
texthexa(mid = runif(2), angle = runif(1)*360, col = i,
box.col = grey(0.95), radx = 0.1, rady = 0.05,
lab = LETTERS[i], cex = 2)