colorPoly: Function for plotting a colored polygon as part of a density...

Description Usage Arguments Value Author(s)

View source: R/densityLegend.R

Description

Function for plotting a colored polygon as part of a density legend

Usage

1
colorPoly(de1, tempDex, col, side)

Arguments

de1

a density() object

tempDex

a set of indices corresponding to the range of the current segment to be plotted (which indices of the density object to ues)

col

the color of the polygon to be plotted

side

the side of the plot that the density legend should be plotted on

Value

none, graphics are added to the current device

Author(s)

Jason Waddell


oaPlots documentation built on May 2, 2019, 6:46 a.m.

Related to colorPoly in oaPlots...