Added ability to plot time series data