Re: [R] Artifacts in filled.contour+pdf

2010-10-26 Thread Mario Valle
Thanks David! Indeed the printout is perfect. But this image (produced with higher resolution) should appear in a publication. I will ask to the author to check her copy of the manuscript, if it is acceptable. Anyway, thanks for the pointer to pdf doc.

Re: [R] Artifacts in filled.contour+pdf

2010-10-26 Thread Mario Valle
Thanks Baptiste! the problem with lattice (or more likely with my ignorance) is that it does not accept NA values. Ciao! mario On 26-Oct-10 07:38, baptiste auguie wrote: Hi, As an alternative, maybe you could use lattice::panel.levelplot.raster which I think doesn't have

Re: [R] Artifacts in filled.contour+pdf

2010-10-25 Thread David Winsemius
On Oct 25, 2010, at 6:50 AM, Mario Valle wrote: Dear all, I'm using R 2.12.0 on Windows 7 (32bits) I created a filled contour from the attached data using the following code: load('bug.RData') pdf('bug.pdf', width=14, height=7) filled.contour(o4$x, o4$y, o4$z, color=rainbow, xlim=c(4,18),

Re: [R] Artifacts in filled.contour+pdf

2010-10-25 Thread baptiste auguie
Hi, As an alternative, maybe you could use lattice::panel.levelplot.raster which I think doesn't have this problem in pdf viewers. HTH, baptiste On 26 October 2010 02:30, David Winsemius dwinsem...@comcast.net wrote: On Oct 25, 2010, at 6:50 AM, Mario Valle wrote: Dear all, I'm using R