[R] image plot but data not on grid.

Michael Bedward michael.bedward at gmail.com
Sat Aug 7 09:54:15 CEST 2010


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.

Michael



More information about the R-help mailing list