Description Usage Arguments Details Author(s) See Also Examples
These are versions of panel.text
and panel.points
with
different (customisable) style settings.
1 2 3 4 5 6 7 8 9 10 |
x, y |
text or point locations. |
labels, col, alpha, cex, srt, lineheight |
see the usual lattice
functions in |
font, fontfamily, fontface, adj, pos, offset |
as above. |
pch, fill, type, lty, lwd, ... |
as above. |
The settings for panel.usertext
are taken from
trellis.par.get("user.text")
, but default to
trellis.par.get("add.text")
if undefined.
"user.text"
is preferred to "add.text"
for annotations
because the latter also applies to strip text and key text.
The settings for panel.brushpoints
are taken from
trellis.par.get("brush.symbol")
, but default to
hard-coded settings if undefined.
The settings for panel.brushlines
are taken from
trellis.par.get("brush.line")
, but default to
hard-coded settings if undefined.
These functions are used in playwith
.
Felix Andrews felix@nfrac.org
1 2 3 4 | xyplot(1:10 ~ 1:10, panel = function(...) {
panel.brushpoints(...)
panel.usertext(..., pos = 1)
})
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.