Re: [R] putting reference lines or grids into the background of a plot

2009-09-03 Thread baptiste auguie
Hi, You may find some inspiration here: http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:ggplot2theme_inbase HTH, baptiste 2009/9/3 RINNER Heinrich > Dear R-community, > > using R.2.9.1, how do you put reference lines or grids into the > _background_ of a plot? > For example:

[R] putting reference lines or grids into the background of a plot

2009-09-03 Thread RINNER Heinrich
Dear R-community, using R.2.9.1, how do you put reference lines or grids into the _background_ of a plot? For example: barplot(3:1) abline(h = seq(0.5, 2.5 ,0.5), col = "red", lty = "dashed") -> The lines are before the bars (and the line parts going through the bars might be considered as "ch