Hi,
For curiosity's sake, below is another version with ggplot2 and Grid graphics,
library(pixmap)
logo <- read.pnm(system.file("pictures/logo.ppm", package="pixmap")[1])
library(ggExtra) # r-forge, requires gridExtra
qplot(rnorm(100),rnorm(100)) +
annotate("pixmap", x=-Inf, y=-Inf, picture=lo
Hi
Rajarshi Guha wrote:
Hi, I have a plot and I would like to overlay a PNG image over it. I'm
using the rasterImage function to do this, but the problem I'm facing
is working out the coordinates of the upper right corner of the final
image in user coordinates.
That is I can place the image so
Hi, I have a plot and I would like to overlay a PNG image over it. I'm
using the rasterImage function to do this, but the problem I'm facing
is working out the coordinates of the upper right corner of the final
image in user coordinates.
That is I can place the image so the lower left is located a
3 matches
Mail list logo