Re: [R] lattice: horizontal alignment of labels in key

2009-06-02 Thread Paul Murrell
Hi Thomas Zumbrunn wrote: Dear R users I have problems horizontally aligning labels in keys of lattice plots when the labels make use of plotmath. Here's a self-contained example: dat <- data.frame(x = rnorm(10), y = rnorm(10), z = factor(rep(c("a", "b"),

[R] lattice: horizontal alignment of labels in key

2009-06-02 Thread Thomas Zumbrunn
Dear R users I have problems horizontally aligning labels in keys of lattice plots when the labels make use of plotmath. Here's a self-contained example: dat <- data.frame(x = rnorm(10), y = rnorm(10), z = factor(rep(c("a", "b"), each = 5))) xyplot(y ~ x, dat,