Get rid of gray line in R density plot density at y = 0
问题 I have a density plot that I want to save in an eps file. My density plot is something like setEPS() postscript("myfile.eps") plot(density(rnorm(1000))) dev.off() just with my data and a little bit more complex (changing labels and margins, more lines on top of it, etc). My problem is that I get an annoying, horizontal thin gray line on top of my density plot at y = 0, and I'd like to get rid of it. When plotting directly to the X device I don't get this horizontal gray line, but in