Editing a subrange of a wave automatically
I am trying to design a script that allows the user to select a subrange of data points on a graph (using cursors) and set all data points, bounded by the cursors, equal to the average value of those points. I am having a hard time finding a way to edit a subrange in an automated fashion, so any help would be much appreciated. Thank you in advance!
NOTE: This is not undoable.
Also I have tested it only briefly.
Read the code to see how it works and to make sure that it does what you want.
March 1, 2014 at 05:21 pm - Permalink