panel.xyarea {latticeExtra} | R Documentation |
Plot series as filled polygons connected at given origin level (on y axis).
panel.xyarea(x, y, groups = NULL, origin = NULL, col, border, lty, lwd, alpha, ..., col.line, fill, panel.groups = panel.xyarea) panel.qqmath.xyarea(x, f.value = NULL, distribution = qnorm, qtype = 7, groups = NULL, ...)
x, y |
data vectors. |
groups |
a factor defining groups. |
origin |
level on y axis to connect the start and end of the series.
If NULL , the polygon is filled to the bottom of the panel.
|
col, border, lty, lwd, alpha, col.line |
graphical parameters taken from
trellis.par.get("plot.polygon") or
trellis.par.get("superpose.polygon") (when groups defined).
col.line overrides border .
|
... |
further arguments passed on to panel.polygon .
For panel.qqmath.xyarea , passed to panel.xyarea .
|
fill |
ignored; use col instead.
|
panel.groups |
used in panel.superpose .
|
f.value, distribution, qtype |
as in panel.qqmath .
|
none yet.
Felix Andrews felix@nfrac.org
xyplot(sunspot.year, panel = panel.xyarea, origin = 0, aspect = "xy", cut = list(n = 3, overlap = 0)) qqmath(~ data, make.groups(baseline = rnorm(100), other = rnorm(100) * 2 - 0.5), groups = which, distribution = qunif, panel = panel.qqmath.xyarea, xlim = 0:1, auto.key = list(points = FALSE, rectangles = TRUE), par.settings = simpleTheme(col = c("grey", NA), border = c(NA, "black"), lwd = 2))