On Sat, Aug 7, 2010 at 2:54 AM, Michael Bedward <michael.bedw...@gmail.com> wrote: > On 7 August 2010 06:26, Hadley Wickham wrote: > >> library(ggplot2) >> qplot(x, y, fill = z, data = df, geom = "tile") > > Hi Hadley, > > I read the original question as being about irregularly spaced data. > The above method doesn't seem to for me in such a case but perhaps I'm > constructing my example incorrectly.
If it's regular, but incomplete, that method will work. If it's irregular, then no image method will work without first interpolating a regular grid. Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.