plotStackProfileLegend: plotStackProfileLegend()

View source: R/plotStackProfileLengend.R

plotStackProfileLegendR Documentation

plotStackProfileLegend()

Description

Utility function to plot the corresponding legend key of plotStackProfile()'s plots.

Usage

plotStackProfileLegend(
  zlim,
  palette = colorRampPalette(c("white", "grey", "black")),
  title = NA
)

Arguments

zlim

the limits of the values to be displayed. Format: c(min, max)

palette

a palette of color, (i.e. a function of parameter n that should retrun n colors).

title

an optionnal title to be display bellow the color legend.

Value

Display a plot.

See Also

plotStackProfile

Examples

plotStackProfileLegend(zlim = c(0, 2),
    palette = colorRampPalette(c("white", "grey", "black")))


GenEpi-GenPhySE/epistack documentation built on July 27, 2023, 1:09 a.m.