Copies the newest keepMs of a buffer, plus the one point before that span so the line reaches the left edge of the plot.
keepMs
Points sorted by time.
Span to keep, measured back from the newest point, ms.
A new array.
Copies the newest
keepMsof a buffer, plus the one point before that span so the line reaches the left edge of the plot.