[R] Insert .eps files in to an R plot.
Greg.Snow at imail.org
Thu Mar 25 22:00:28 CET 2010
The subplot function in the TeachingDemos package will create a new plot inside of the existing one, so if you can plot your one image, the subplot function will help (using base graphics). The EBImage package may help with the reading and plotting of the figure. (there is also grImport, but it looks like it is fully grid based which is harder to work with base plots, on the other hand if your plot is grid based, then it will work better than subplot).
Hope this helps,
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of mnstn
> Sent: Thursday, March 25, 2010 8:16 AM
> To: r-help at r-project.org
> Subject: [R] Insert .eps files in to an R plot.
> Hello Everybody,
> I have an eps figure an awesome bacteria and a plot (generated using R)
> in eps format. Now it looks like there is space for only one figure and
> have to insert the picture of the bacteria into the plot. Is there a
> way to
> insert figures (eps/png/jpg) in to plots (may be control over placement
> figures in the plot as well?) ? By plots I mean data represented using
> and points and such and by figures I mean cartoons, pictures taken by a
> camera and such.
> View this message in context: http://n4.nabble.com/Insert-eps-files-in-
> 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-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help