[R] on trellis.par.set/get (reproducing figures from Pinheiro & Bates)

Deepayan Sarkar deepayan.sarkar at gmail.com
Tue Jan 29 19:45:50 CET 2008


On 1/29/08, Dr. Ottorino-Luca Pantani <ottorino-luca.pantani at unifi.it> wrote:
> Dear R users,
> I would like to exactly reproduce a figure like the 1.5 or 1.9 or 4.13
> from the book
> Mixed effects models in S and S-Plus.
> Not for the sake of it, but because I have my own data I would like to
> plot in that fashion
> (no colors)
>
>
> If I write
>
> plot(ergoStool)
>
> I can get a good informative plot with colors, but I would like to have
> a B&W one instead.

Have you tried

trellis.device(color = FALSE)
plot(ergoStool)

-Deepayan



More information about the R-help mailing list