[R] ggplot2 theme for custom point colors?
baptiste auguie
baptiste.auguie at googlemail.com
Wed Jan 27 20:56:36 CET 2010
Hi,
I remember asking a similar question some time ago, I don't know if
the matter has evolved since then,
http://groups.google.com/group/ggplot2/browse_frm/thread/a3df8a0d1ee335fb/e3bedd50fb9bd567?lnk=gst&q=theme#e3bedd50fb9bd567
There's also set_default_scale, somewhat related to your question.
baptiste
2010/1/27 Kevin Wright <kw.stat at gmail.com>:
> 1. Is it possible to set the point colors in a ggplot2 theme? For example,
> to default to these colors:
> scale_colour_manual(value = c("red", "orange", "yellow", "green", "blue")
>
> 2. Is it possible to set this theme in .Rprofile, similar to:
>
> my.lattice.colors = function () { .......etc.....}
> options(lattice.theme=".mw.lattice.colors")
>
> --
> Kevin Wright
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
More information about the R-help
mailing list