itall.R function used for plotting time series