[R] Setting qplot default options

hadley wickham h.wickham at gmail.com
Wed Oct 10 15:53:59 CEST 2007


On 10/10/07, Christoph Krammer <ck at altaica.de> wrote:
> Hello,
>
> is there a possibility to set default options to qplot?
>
> I need to draw a lot of graphs and would like to have all of them as point
> plot but with a greater size and a fixed color for all dots.

Sure.  It's a bit of hack, but:

GeomPoint$default_aes <- function(x) aes(shape=19, colour="red", size=5)

will do what you want.

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list