Hi Robert,
Your legend is for fill, not color, so you need
guides(fill = guide_legend(nrow = 3))
instead of
guides(colour = guide_legend(nrow = 3))
Best,
Ista
On Wed, Aug 28, 2013 at 5:09 PM, Robert Lynch wrote:
> I am having trouble getting my legend to format the way I want it to. I
> sus
I am having trouble getting my legend to format the way I want it to. I
suspect it is something simple.
>
> the code I have is
> library(ggplot2)
> ggplot(Chem.comp, aes(Course, GRADE.)) + geom_boxplot(notch =
> TRUE,aes(fill = COHORT))+
> labs(title = "Comparison between ISE cohorts and Peers
2 matches
Mail list logo