Add text to time series plot
rtsplot.text(y, ...)
nothing
xts
object
additional parameters to the lines
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)
Run the code above in your browser using DataLab