Hi Mark,

I assume you’re using a Mac. This problem comes from the way Quartz renders 
immediately adjacent filled polygons. To get around it, you can add 
type=“cairo” or type=“Xlib” as an argument to the tiff, png, or jpeg call. If 
you really want to make a PDF, I can post those instructions to the list, but 
it is a bit more involved and uses some custom code I’ve written.

Cheers,

Colin

PS: I would avoid cross-posting to multiple lists in the future. That’s 
generally frowned upon.

> On Nov 5, 2014, at 4:14, M P <[email protected]> wrote:
> 
> Hello,
> I cannot fix image quality e.g. generated with filled.contour(). Whether I 
> use tiff, png, jpeg, or pdf I always see vertical and horizontal lines at 
> every grid increment on the plots like the attached. There is no problem when 
> I plot in x11.
> How to fix that?
> Thanks,
> Mark

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to