Using ggplot2 to create a boxplot, I ran into the issue of needing to specify legend colour.
Before adjustment each box had a filled centre and black border Before picture here. However, after adjusting legend colour the fill is white and the border is the specified colour. After picture here How would I go about getting my specified colour as the fill with a black border?
ggplot(Data.Benin, aes(x=countrycode, y=mortality, color=year)) +
geom_boxplot(notch=F)+ scale_color_manual(values=c("coral1",
"darkolivegreen4", "gold4", "deepskyblue2", "darkorchid1"))+labs(x=" ",
y="Deltamethrin mortality", fill="Year")+theme_gray()
Thank you in advance.