I think it's a quirk of the graphics device. I ran the same code and
saved it to a pdf file and found no white line. In your png plot, you
may be able to make it look better by experimenting with different
resolutions. I have used res=200 with good effect.
On a semi-related topic, graphics in the New York Times, which, if I'm
not mistaken, uses R and ggplot for a lot of their graphs, looks like
they use a white background and white grid lines that appear on top of
the graphics elements. Here's an example (not the best, but it was all I
could find in 10 minutes of searching):
http://www.nytimes.com/interactive/2012/04/04/business/the-cost-of-higher-fuel-economy.html
Anyone know how to do this in ggplot?
--
Stuart Luppescu -=- slu .at.
ccsr.uchicago.edu
University of Chicago -=- CCSR
鐃緒申文鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申鐃緒申 -=- Kernel 3.2.1-gentoo-r2
Kenn Konstabel: [...] There's more to this trend: SPSS and Statistica
now advertise "R language support": [...] Charles C. Berry: If you can't
beat R, join R. Marc Schwartz: "Resistance is futile. You will be
assimilated." -- Kenn Konstabel, Charles C. Berry, and Marc Schwartz
(about the RPro release from REvolution) R-help (August 2008)