Re: [R] How to get pixel position of a plot

About this list Date view Thread view Subject view Author view Attachment view

From: Barry Rowlingson (B.Rowlingson@lancaster.ac.uk)
Date: Fri 27 Jun 2003 - 19:36:56 EST


Message-id: <3EFC1038.8050803@lancaster.ac.uk>

Philippe Hupé wrote:

> I would like to plot a graph on the jpeg device for example and to write
> a table associated to this plot where I have the pixel coordonates of
> each plotted point so that I could include the jpeg image onto a html
> page and get all the information about each point when the mouse button
> is pressed. The indentify() can do it but on the window device...

  You may wish to try my 'imagemap' library:

http://www.maths.lancs.ac.uk/Software/Imagemap/

  For background, read up about client-side imagemaps in HTML on a
web-design web site. My library creates these things from an R plot.

Barry Rowlingson
Maths and Stats
Lancaster University
Lancaster, UK

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST