Re: [R] Xyplot, multi line title via main, all lines left justified

2009-09-10 Thread Deepayan Sarkar
On Wed, Sep 9, 2009 at 2:53 PM, Afshartous, David wrote: > > All, > > Below is an xyplot plot with multiple panels and a title produced via main: > > library("lattic") > data.ex = data.frame(y = rnorm(10), t = rep(1:5, 2), group = rep(c(0,1), > each = 5)) > > xyplot(y ~ t | as.factor(group), data

[R] Xyplot, multi line title via main, all lines left justified

2009-09-09 Thread Afshartous, David
All, Below is an xyplot plot with multiple panels and a title produced via main: library("lattic") data.ex = data.frame(y = rnorm(10), t = rep(1:5, 2), group = rep(c(0,1), each = 5)) xyplot(y ~ t | as.factor(group), data = data.ex, main = list("Put figure caption here xx