mdaplot.showColorbar {mdatools}R Documentation

Plot colorbar

Description

Shows a colorbar if plot has color grouping of elements (points or lines).

Usage

mdaplot.showColorbar(
  cgroup,
  colmap = "default",
  lab.col = "darkgray",
  lab.cex = 0.65
)

Arguments

cgroup

a vector with values used to make color grouping of the elements

colmap

a colormap to be used for color generation

lab.col

color for legend labels

lab.cex

size for legend labels


[Package mdatools version 0.14.1 Index]