addLabel: Plot a label with optional polygon background

Description Usage Arguments

View source: R/addNonOverlappingTestLabelsOrPoints.R

Description

Function used by addTextLabels()

Usage

1
addLabel(x, y, label, cex, col, bg, border, heightPad, widthPad)

Arguments

x

The X coordinate at which label is to be plotted

y

The Y coordinate at which label is to be plotted

label

The label to be plotted

cex

The number used to scale the size of the label

col

The colour of the label to be plotted

bg

The colour of the polygon to be plotted. If NULL no polygon plotted

border

The colour of the polygon border. If NA, no border plotted

heightPad

Multiplyer for label height should added to label to be used to pad height

widthPad

Multiplyer for label width should added to label to be used to pad width


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