Hi,
If you can first convert the image to ppm format, the pixmap package
has an addlogo function that can do just what you want,
x - read.pnm(system.file(pictures/logo.ppm, package=pixmap)[1])
plot(1:10,1:10)
addlogo(x, px=c(2, 4), py=c(6, 8), asp=1)
One could probably get inspiration from the
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How
to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main=test)
Look at the R-devel development version of R
o The graphics engine now supports rendering of raster (bitmap)
images, though not all graphics devices can provide (full)
support. Packages providing graphics devices (e.g., Cairo,
RSvgDevice, cairoDevice) will need to
Of Cézar Freitas
Sent: Thursday, December 03, 2009 7:24 AM
To: r-help@r-project.org
Subject: [R] adding bmp/jpg/gif to an existing plot
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages,
but I couldn't make this simple work:
How
to add a image file (jpg or bmp ou
Greg Snow wrote:
Look at the subplot function in the TeachingDemos package.
A copy of subplot is in the Hmisc package thanks to Greg.
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main=test)
image =
6 matches
Mail list logo