Background: the directlabels package facilitates use of direct labels instead of legends in everyday statistical graphics made with lattice or ggplot2. Labeling is currently limited to textual annotations, but sometimes it is more informative to label using images, i.e. iris data labeled with photos of the 3 flower species or scatterplot comparing several countries using their flags
Goal: develop a framework for labeling plots using images instead of textual factor names. There is some preliminary code, but there are a few technical problems with plotting images in R that must be overcome:
grImport::PostScriptTrace() when attempting to convert to RGML, i.e. http://upload.wikimedia.org/wikipedia/commons/d/da/Flag_of_Kansas.svgpdf() device. i.e. 20MB pdf for this plot of the iris data. Can we compress the images plotted with grid.raster?Tests:
Mentors: Toby Dylan Hocking toby.hocking@inria.fr, Paul Murrell p.murrell@auckland.ac.nz