[R] Creating a plot with an image as background

Gabor Grothendieck ggrothendieck at gmail.com
Tue Jun 2 00:24:38 CEST 2009


Check out:
http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:translucency

On Mon, Jun 1, 2009 at 6:17 PM, Søren Højsgaard
<Soren.Hojsgaard at agrsci.dk> wrote:
> I want to create a plot of positions (x(t),y(t)) of animals in a barn for t=1,2,... (I have in mind creating many of these, saving them as png's and combining them into a small movie). I have an image file showing the physical layout of the barn, and I would like to have that image as background for the plots. Can that be done in R (easily) or is that something I should do outside of R using e.g. ImageMagick? (Creating the .png's with R and then subsequently overlaying them???).
> Thanks
> Søren
>
> ______________________________________________
> 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.
>




More information about the R-help mailing list