[R] ggplot with geom_tile

2011-12-09 Thread Pelt van, Saskia (KNMI)
Dear R-users, I am trying to make a plot with ggplot-geom_tile(), but cannot remove some unwanted (white) lines through my plot. Below a reproducible example: # library(ggplot2) tot=as.data.frame(rep(seq(-50,50,5),each=21)) names(tot)=precip temp=rep(seq(-5,5,0.5),21) tot$temp=temp

Re: [R] ggplot with geom_tile

2011-12-09 Thread Paul Hiemstra
Dear Saskia, Thank you for the reproducible example, that helps a lot. I pasted you code into R and got a perfectly fine image. You need to provide us with your sessionInfo(). Mine is listed at the end of the mail. I seem to remember having this problem with R 2.12. Therefore updating R might be

Re: [R] ggplot with geom_tile

2011-12-09 Thread Pelt van, Saskia (KNMI)
, Saskia (KNMI) Cc: r-help@r-project.org Subject: Re: [R] ggplot with geom_tile Dear Saskia, Thank you for the reproducible example, that helps a lot. I pasted you code into R and got a perfectly fine image. You need to provide us with your sessionInfo(). Mine is listed at the end of the mail. I

Re: [R] ggplot with geom_tile

2011-12-09 Thread Frederic Andrieu
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Paul Hiemstra Sent: 09 December 2011 11:23 To: Pelt van, Saskia (KNMI) Cc: r-help@r-project.org Subject: Re: [R] ggplot with geom_tile Dear Saskia, Thank you for the reproducible example

Re: [R] ggplot with geom_tile

2011-12-09 Thread Pelt van, Saskia (KNMI)
, Saskia From: Frederic Andrieu [mailto:fandr...@mango-solutions.com] Sent: Fri 09/12/2011 12:43 To: Pelt van, Saskia (KNMI) Cc: r-help@r-project.org; Hiemstra, Paul (KNMI) Subject: RE: [R] ggplot with geom_tile Dear Saskia, If you mean the grid lines around

Re: [R] ggplot with geom_tile

2011-12-09 Thread David Winsemius
On Dec 9, 2011, at 7:47 AM, Pelt van, Saskia (KNMI) wrote: Dear Frederic, No this was not the problem, the problem are horizontal and vertical white lines in the figure. But the problem is gone when I save the figure and reopen it (in another program), so I think the problem is only