addLegend: Add Legend

Description Usage Arguments Author(s)

View source: R/plot2.R

Description

Add Legend

Usage

1
2
addLegend(legend.loc = "center", legend.names = NULL, col = NULL,
  ncol = 1, ...)

Arguments

legend.loc

legend.loc places a legend into one of nine locations on the chart: bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center.

legend.names

character vector of names for the legend. If NULL, the column names of the current plot object are used.

col

fill colors for the legend. If NULL, the colorset of the current plot object data is used.

ncol

number of columns for the legend

...

any other passthrough parameters. Not currently used.

Author(s)

Ross Bennett


joshuaulrich/xtsExtra documentation built on May 19, 2019, 9:40 p.m.