I am trying to make a time series move smoothly like my x-axis. Essentially, I continuously update an array of fixed length with a new random measurement (i.e. add one, delete o