Skip to content
Prev 77010 / 398502 Next

adding labels to a multiple plot in lattice

On 9/9/05, Jorge Ahumada <jahumada at usgs.gov> wrote:
The obvious thing to do would be

a <- factor(rep(1:4, c(length(x1), length(x2), length(x3), length(x4))))
xyplot(c(x1, x2, x3, x4) ~ c(y1, y2, y3, y4) | a,
       scales = "free", xlab = "whatever")

Deepayan