[R] on trellis.par.set/get (reproducing figures from Pinheiro & Bates)
Dr. Ottorino-Luca Pantani
ottorino-luca.pantani at unifi.it
Wed Jan 30 09:37:15 CET 2008
Deepayan Sarkar ha scritto:
> 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
>
>
Thanks once more for your help.
It works but the symbols are not the same as reported in the book.
Now, if I can push your patience a little further, how can I change the
plot symbols ?
--
Ottorino
More information about the R-help
mailing list