Each hash mark on the x axis represents one second.
There are 16.7 seconds displayed, a total of 1002 data points.
Sixty new samples are added every second; dt = 1/60 = 0.167 sec
The formula is: y = (amplitude + noise) x sin( (2PI / period) x dt )