On 1/30/08, Dr. Ottorino-Luca Pantani <[EMAIL PROTECTED]> wrote: > Deepayan Sarkar ha scritto: > > On 1/29/08, Dr. Ottorino-Luca Pantani <[EMAIL PROTECTED]> 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 ?
The symbols happen to be controlled by the "superpose.symbols" setting; other than guessing from the names, this is also indicated by the output of show.settings() So to change it, you would do trellis.par.set(superpose.symbol = list(pch = <...>)) or some variant of this. -Deepayan ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.