r - Changing color of shades in ggplot2 function -
i had previous question shading sections of graph , guys got graphs! wondering possible change colour of shading instead of being gray? here code used graphs link previous question.
ggplot(data, aes(x=time, y=average, colour=test)) + geom_rect(aes(xmin=20,xmax=30,ymin=-inf,ymax=inf),colour=na,alpha=0.02) + geom_errorbar(aes(ymin=average-se, ymax=average+se), width=0.2) + geom_line() + geom_point()
Comments
Post a Comment