[Rd] graphics defaults

Deepayan Sarkar deepayan.sarkar at r-project.org
Fri Mar 14 08:06:41 CET 2008


On 3/13/08, Ben Bolker <bolker at zoo.ufl.edu> wrote:
>
>    Can someone point me to a justification for the design
>  decisions, which seem to be similar in lattice and
>  ggplot2, of

Disclaimer: I don't have strong personal preferences, I just went with
what Trellis had. That said,

> (1) gray backgrounds and

lattice's default background is now white, and this was partly because
many people seemed to dislike the grey background. My personal feeling
is that it looked good on a screen or when using a beamer, but not so
good when printed. ggplot's background is lighter, so this probably
does not apply.

> (2) filled points?
>  [I seem to remember seeing somewhere the opposite recommendation
>  for points, i.e. that open points make it much easier to
>  see if there are overlapping values -- and this would
>  be a reason that pch=1 gives an open circle ...]

lattice does have open circles by default, except in ungrouped dot
plots, where there is no possibility of overlapping.

-Deepayan



More information about the R-devel mailing list