Hi rjp,
Arg, I totally botched the example last night. Here is a working
example; I think you're right that this is easier in lattice, but it
is definitely not true that you need to add this stuff to each plot.
library(ggplot2)
theme_set(theme_bw() +
theme(rect = element_rect(fill =
Wow! A lot more to think about than when I asked what I thought was going to be
a fairly simple question.
I am working my way through the discussion so far and appreciate all of the
help and suggestions.
Some additional information:
RStudio was what allowed me to seriously consider R in the
Thanks again.
I’m glad to learn that this is available, even if barely documented. For my
main use case (wanting to control colors, etc. without cluttering up code I
show students), this solution is sufficient.
One further refinement of your example:
scale_fill_discrete <- function(values