Re: [R] colors in violin plot, ggplot2

2014-04-01 Thread Monica Pisica
Re: [R] colors in violin plot, ggplot2 > From: djmu...@gmail.com > To: pisican...@hotmail.com > > Hi: > > Your example is not reproducible in the absence of data, but this is > an opportunity to show you how to make one. I'm using the built-in > mtcars data set for illus

[R] colors in violin plot, ggplot2

2014-03-31 Thread Monica Pisica
Hi, I am using ggplot and geom_violin to build a violin plot of some with only 2 categories. All is good except that I cannot set up the colors I want or the violin plots. Either I have same color for both my categories or colors from probably rainbow(2), which are red and blue. What if I wan