showDataPoints: showDataPoints

Description Usage Arguments Examples

Description

This is a wrapper function for displaying a set of data points on a plot.

Usage

1
2
showDataPoints(dataPoints, dataSetNumber = 1, numofDatasets = 10, pch = 4,
  cex = 2, colorPalette = NULL, lwd = 3)

Arguments

dataPoints

a list with a list of x coordinates and another list with y coordinates

dataSetNumber

if more than one dataset is included this changes the color of the dataset

numofDatasets

number of datasets to be plotted (only needs to be changed if more than 10 datasets are being plotted)

pch

same as pch base graphics

lwd

same as lwd in base graphics

col

same as col in base graphics

Examples

1
2
3
4
5
prepareExtractionPlot("figure_7_Rogers_Commission_1986.png")
datapoints <- extractDataPoints()

prepareExtractionPlot("figure_7_Rogers_Commission_1986.png")
showDataPoints(datapoints)

Agriculturist/SimpleDigitizeR documentation built on July 28, 2020, 4:22 a.m.