[R] Plotting multiple jpegs on a plot?

From: jchernev <jchernev_at_ntag.com>
Date: Fri, 21 Dec 2007 07:14:56 -0800 (PST)


I have a set of data which I currently represent graphically on a plot. To do that, I use the embedded functions from the graphics package (symbols, rect, etc.) However, I would like to use static jpeg images to represent the data if possible. Here's my progress so far:

  1. Used the rimage library to obtain the read.jpeg func.
  2. Read in my jpeg image and assigned it to a variable.
  3. I can plot the image itself if i just do plot(image). However, I have no idea on how to plot a lot of images at the same time.
  4. I've tried the subplot func, but it says that my margins are too small (My jpeg is 40x40 rgb). The maximum margin that I've been able to create was
  5. However, this does not help the cause, because I want to add images to the plot itself, instead to the plot's margins.

Has someone wrestled this one before? If yes, can you please explain how?


View this message in context: http://www.nabble.com/Plotting-multiple-jpegs-on-a-plot--tp14456941p14456941.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 21 Dec 2007 - 15:18:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 21 Dec 2007 - 16:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.