Re: [R] colours in ggplot2

2015-02-23 Thread Jose Iparraguirre
Dear Antonello, How about this? Obviously, you can change the background colours for the confidence levels (deprespal) and for the regression lines, etc. Surely, many in the list can improve on my rough and ready solution. deprespal=c("#CC","#99") p2 <- ggplot(data = df, aes(x =Levels_De

Re: [R] colours in ggplot2

2015-02-20 Thread Thierry Onkelinx
Dear Antonello, You can specify the colours manually with scale_colour_manual(). See http://docs.ggplot2.org/0.9.3.1/scale_manual.html for some examples. The last examples uses greys. Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Fo