Sorry, i use it here more like my blog. I did it with gschem. I think this should be done with Inkscape, when a copy of the oscilloscope screen needs to be drawn. Precision is everything there. I tried to draw it with Inkscape, but had some trouble, the ends of the lines on the picture of the oscilloscope screen are blurry, where they supposed to begin and end? Python script can be written to read data from svg file, there, input, output and channel 2 are all 3 separate paths. But i have not done it yet. So by now there is only a script for gschem. And all that trouble is for using analog scope, from digital scope waveform data can be obtained, and the python script needs only a slight change to calculate based on the waveform data instead. Is anything bout digital scope accurate enough for this thing? Never had to think about it, but i have no digital scope.
If someone happens to replicate this experiment with a digital scope, send the waveform data to me, then i will modify the python scipt, so it can calculate from that. Better to measure, measure everything.