E3DrawScaleLegend: Draw a vertical recrangle with a color scale and labels

Description Usage Arguments

Description

This function uses Rcss selector "scalelegend" to determine legend position.

Usage

1
2
E3DrawScaleLegend(legend = NULL, xlim = c(0, 1), ylim = c(0, 1),
  main = "", RC = "default", RCC = c())

Arguments

legend

- named vector of colors. Colors defining a color scale. All names associated with vector will be draw onto to the plot. (Set some names to "" to avoid labeling every single color in a color gradient)

xlim

- numeric vector of two elements. Gives range of x axis.

ylim

- numeric vector of two elements. Gives range of y axis.

main

- text two write above the legend

RC

- Rcss object. Style to use for plotting, uses package Rcssplot

RCC

- character vector. Classes to tune Rcssplot formatting.


tkonopka/ExpCube documentation built on May 31, 2019, 3:44 p.m.