[R] overlapping a plot with an external image

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 21 16:38:56 CEST 2003


On Wed, 21 May 2003, Meinhard Ploner wrote:

> It's possible to overlap an external image (jpg or pdf)
> with a plot generated with R?
> 
> Specifying the image as the background
> of the plot might not be possible...

Although this has been discussed, R graphics devices cannot as yet plot
bitmap images.  So all one can do is to plot a set of rectangles: for that 
the pixmap package might be helpful.

Although we might add the ability to plot a bitmap image, note that it is 
not straightforward, as R screen graphics devices can be dynamically 
resized.  What should be done with a plotted image then?  Interpolate on 
the fly?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list