Plotting data with varying time-averaging periods