[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 Pelt van, Saskia (KNMI)
On 12/09/2011 10:33 AM, Pelt van, Saskia (KNMI) wrote: 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

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

[R] : plot different axis, same plot position

2010-11-17 Thread Pelt van, Saskia (KNMI)
Dear R-users, I am trying to make a plot in R where x and y are plotted in a regular way, but the x axis corresponds to another set of values. For example I have x,y and T (all 29 values) x- c( -1.31846232, -1.04744756, -0.87034853, -0.72883370, -0.60618971, -0.49501845, -0.39128988,