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() 

shading sections of graph using r


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

debian - 500 Error upon login into Plesk Admin - auth.php3? -