In relation to my question here, I have a plot for which the xlim is say c(0,1000). How can I confine each of the lines resulting from
abline(h=seq(0,45,5),col="white")
to a width of 0 to 500 along the x-axis, while retaining the plot’s xlim of c(0,1000)?
You could make use of
?lines.