add_legend: Add legend to active time series plot

Description Usage Arguments Details See Also

View source: R/add_legend.R

Description

Add legend to active time series plot

Usage

1
2
add_legend(position = "topright", names, col = "auto", lty = 1, lwd = 1,
  pch = NA)

Arguments

position

same as in plot_ts except 'n'

names

line labels

col

same as in plot_ts

lty, lwd

same as in lines

pch

same as in points

Details

Used in plot_ts internally.

See Also

Other graphical functions: add_last_values, distinct_colors, empty_plot, hist_dt, lines_ohlc, lines_stacked_hist, multi_heatmap, plot_table, plot_ts


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.