RE: Sv: [R] Using locator() to digitise

From: Ted Harding <Ted.Harding_at_nessie.mcc.ac.uk>
Date: Mon 21 Mar 2005 - 20:55:58 EST


On 21-Mar-05 Sixten Borg wrote:
> Hi,
> Splus allows pasting a graphics object into the plotting
> window, which makes it possible to do what you describe below.
> Now I use R which doesn't seem to allow pasting the picture
> into the graphics window, so I copy the graph onto a transparency
> sheet, and stick it onto my screen using tape. The coordinates
> need to be converted to make sense (as you describe).
>
> My methodology with the transparency has a "stoneage" appearance, but
> it works quite well, if I may say so myself.

Hi Sixten,

Such things often work well! You take me back many years to my earliest digitising, using a flat-bed pen plotter.

I bought a cheap little "pocket microscope" (the top and bottom lenses folded out from the upright), plucked two hairs from my head, and fixed these as *literal* cross-hairs on the lower lens with sellotape. To use this, I would remove the pen from its holder on the plotter arm and attach the microscope to the pen holder with a rubber band. The sheet to be digitised was laid on the plotter bed in the usual way.

I then wrote a program (BASIC for CP/M) which would move the pen-holder under control of the arrow-keys on the computer, and keep an internal record of the point moved to. Pressing "Return" would store the plotter coordinates of the current point in an array.

Any other anecdotes, anyone?

Best wishes,
Ted.



E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 21-Mar-05                                       Time: 09:55:58
------------------------------ XFMail ------------------------------

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Mar 21 21:06:37 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:51 EST