addLegend {xts} | R Documentation |
Add Legend
Description
Add a legend to an existing panel.
Usage
addLegend(
legend.loc = "topright",
legend.names = NULL,
col = NULL,
ncol = 1,
on = 0,
...
)
Arguments
legend.loc |
One of nine locations: bottomright, bottom, bottomleft, left, topleft, top, topright, right, or center. |
legend.names |
Character vector of names for the legend. When |
col |
Fill colors for the legend. When |
ncol |
Number of columns for the legend. |
on |
Panel number to draw on. A new panel will be drawn if |
... |
Any other passthrough parameters to |
Author(s)
Ross Bennett
[Package xts version 0.14.0 Index]