Add time series plotting functions