[R] image plot but data not on grid.

Hadley Wickham hadley at rice.edu
Mon Aug 9 16:47:13 CEST 2010


With sweave, you need to explicitly print() the output of ggplot2 and
lattice plots.
Hadley

On Mon, Aug 9, 2010 at 6:32 AM, W Eryk Wolski <wewolski at gmail.com> wrote:
> qplot does (?) what I was looking for!
> At least it plots what I want to plot in the interactive modus.
> However, it seems not to work with Sweave.
>
> Thanks
>
>
>
> On 7 August 2010 16:15, Michael Bedward <michael.bedward at gmail.com> wrote:
>>> 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.
>>
>> Thanks Hadley. As I suspected,  but ggplot2 is so very clever that I
>> thought it was worth asking :)
>>
>> Michael
>>
>> ______________________________________________
>> R-help at 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.
>>
>
>
>
> --
> Witold Eryk Wolski
>
> Heidmark str 5
> D-28329 Bremen
> tel.: 04215261837
>
>



-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/



More information about the R-help mailing list