Before I start, allow me to explain my graph: I have two Genotypes (WTB and whd) and each have two conditions (0 and 7), so I have four lines.
Now, I want to make a plot where each variable and its condition is the same color. Anything with whd will be black and anything with WTB will be grey.
I managed to make the graph with the solid/dashed lines correctly, however, I am having trouble with the coloring. I can only make it so that there is a grey gradient. Are there any parameters for
scale_color_grey to help me with this?
This is my code (I took out parts of it for easier read):
ggplot(data=df4, aes(x=Day, y=Remain, group=Condition, shape=Condition, colour=Condition) + theme_bw() + geom_line(aes(linetype=Condition), size=1) + geom_point(size=0, fill="#FFFFFF") + scale_linetype_manual(name="Genotype", values=c("solid", "dashed", "solid", "dashed")) + scale_shape_manual(name="Genotype", values=c(1,19,1,19)) + scale_color_grey(name="Genotype")