[R] How to shade vertical bands in a graph?
jim at bitwrit.com.au
Fri Aug 24 12:26:53 CEST 2007
del pes wrote:
> I would like to draw vertical yellow bands in my graph, but could not find how to do that in the documentation.
> I set up a page to show what I would like to achieve: http://rstudent.blogg.de/eintrag.php?id=1 (the first picture was manually colored with the Gimp).
For a one-off, I would use the rect function.
plot(fakedat,main="My Striped Plot",type="n")
More information about the R-help