Skip to content
Prev 666 / 885 Next

Choice of graphics package

On Nov 28, 2015 12:56 PM, "Randall Pruim" <rpruim at calvin.edu> wrote:
Sort of -- see
https://github.com/hadley/ggplot2/blob/e9532537c9eb4f35af41073ed4aba8eca6ba2133/NEWS#L536
and https://groups.google.com/forum/m/#!topic/ggplot2-dev/_IOAWcKB6DU
I think the idea is that scale_fill_discrete should be defined as whatever
you want the default fill function to be.
Yeah, ggplot2 documentation leaves something to be desired in places. I
think documentation improvements are slated for the next release.
supported.  Also, it seems dangerous to mask a function with one that
completely ignores its inputs.

Indeed, we should do

scale_fill_discrete <- function(...) scale_fill_manual(values =
c("orange", "purple","pink", "cyan"), ...)

 I?d need to do more code snooping (or find the relevant documentation) to
know whether this will break something somewhere else.

I don't see why it would (Hadley recommended it after all) , though I'm
ready to concede that this isn't as easy as it should be.

Best,
Ista
chosen
with
on
But
wrote:
not
know
(Since
choices,
lattice,
"gray50")) )
will
what my
new
I
the
write
started
of
sorts of
theming is
stuff
want to
want to
some
show
the
reason
easy
(The
possible
like
the