Description Usage Arguments Details Author(s) See Also Examples
adds one or more lines of text, centered around "mid" in an ellipsoid box
1 2 3 4 | textellipse(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, dr = 0.01, ...)
|
mid |
midpoint (x,y) of the box. |
radx |
horizontal radius of the box. |
rady |
vertical radius of the box. |
lwd |
line width of line surrounding the box. |
shadow.size |
relative size of shadow. |
adj |
text adjustment. |
lab |
one label or a vector string of labels to be added in box. |
box.col |
fill color of the box. |
lcol |
line color surrounding box. |
shadow.col |
color of shadow. |
angle |
rotation angle, degrees. |
dr |
size of segments, in radians, to draw ellipse (decrease for smoother). |
... |
other arguments passed to function textplain. |
see shadowbox
for specifications of the ellipsoid-shaped box
and its shadow
Karline Soetaert <karline.soetaert@nioz.nl>
textdiamond
, textempty
, texthexa
,
textmulti
, textplain
, textrect
,
textround
1 2 3 4 5 6 | openplotmat(xlim = c(-0.1, 1.1), main = "textellipse")
for (i in 1:10)
textellipse(mid = runif(2), col = i, box.col = grey(0.95),
radx = 0.1, rady = 0.05, lab = LETTERS[i],
cex = 2, angle = runif(1)*360)
|
Loading required package: shape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.