[R] Creating a plot with an image as background

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Tue Jun 2 00:17:53 CEST 2009


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




More information about the R-help mailing list