View source: R/tracePlotOnImage.R
tracePlotOnImage | R Documentation |
Written for use in Muchammad Nafiek MSc project,
tracePlotOnImage
allows you to trace information in a
image file.
tracePlotOnImage
allows the user to trace
information on an image, e.g. a picture file containing a bar graph
or plot, using the mouse left button. The procedure has three
steps: (1) The user is asked to select the the bottom corner of the
plot and enter its coordinates; (2) The user is asked to select the
top corner of the plot and enter its coordinates; and (3) The user
is asked to identify points of interest on the plot. The user can
select n
points or stop the point collection process early
by pressing the mouse right button and selecting exit. The data
points, calibrated using information from steps (1) and (2), are
then returned.
tracePlotOnImage(n = 1000)
n |
(integer) the maximum number of data points to collect
when tracing information on a plotted image. The option
|
Karl Ropkins (with contributions from Muchammad Nafiek)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.