Learn R Programming

mdatools (version 0.7.0)

mdaplot.showLabels: Plot labels Shows labels for data elements (points, bars) on a plot.

Description

Plot labels Shows labels for data elements (points, bars) on a plot.

Usage

mdaplot.showLabels(data, pos = 3, cex = 0.65, col = "darkgray", type = NULL)

Arguments

data
data matrix with coordinates of the points (x, y)
pos
position of the labels relative to the points
cex
size of the labels text
col
color of the labels text
type
type of the plot

Details

Rownames of matrix data are used as labels. If matrix has no rownames, row numbers will be used instead.