textempty {diagram} | R Documentation |
adds one or more lines of text, with a colored background, no box
textempty(mid, lab="", adj=c(0.5,0.5), box.col="white", cex=1, ...)
mid |
midpoint (x,y) of the text |
lab |
one label or a vector string of labels to be added in box |
adj |
text adjustment |
box.col |
background color |
cex |
relative size of text |
... |
other arguments passed to function textplain |
Karline Soetaert <k.soetaert@nioo.knaw.nl>
textdiamond
, textellipse
, texthexa
,
textmulti
, textplain
, textrect
, textround
openplotmat(xlim=c(-0.1,1.1),col="lightgrey",main="textempty") for (i in 1:10) textempty(mid=runif(2),box.col=i,lab=LETTERS[i],cex=2) textempty(mid=c(0.5,0.5),adj=c(0,0),lab="textempty",box.col="white")