outsidePlot: Checks whether adding a label at the current point will...

Description Usage Arguments Value

View source: R/addNonOverlappingTestLabelsOrPoints.R

Description

Function used by addTextLabels() and addPoints()

Usage

1
outsidePlot(x, y, height, width, axisLimits)

Arguments

x

X coordinate of point of interest

y

Y coodrinate of point of interest

height

The height of the label associated with the point of interest

width

The width of the label associated with the point of interest

axisLimits

The limits of the X and Y axis: (c(xMin, xMax, yMin, yMax))

Value

Returns a logical variable to indicate whether the point of interest was too close to any plotted labels


JosephCrispell/plotteR documentation built on June 6, 2021, 7:24 p.m.