rtsplot.text {rtsplot} | R Documentation |
Add text to time series plot
Description
Add text to time series plot
Usage
rtsplot.text(y, ...)
Arguments
y |
|
... |
additional parameters to the |
Value
nothing
Examples
y = rtsplot.fake.stock.data(1000)
symbol = 'SPY'
# plot
layout(1)
rtsplot(y, type = 'l', col='black')
rtsplot.text(y[100], 'Text', col='red')
rtsplot.legend(symbol, 'black', y)
[Package rtsplot version 0.1.5 Index]