Dear all,

Is there a simple way to add reference lines in background? I am trying with
abline() or grid() but the lines, since they are executed after the plot
function, are draw on top. How can I draw such lines beneath the main plot?
Here is an example:

 

x<-rnorm(100)

boxplot(x)

abline(h=c(-1,0,1))

grid(NA, 4, lwd = 2)

 

regards,

 

Luigi Marongiu, MSc

 


	[[alternative HTML version deleted]]

