02-03-2012 09:26 AM
This might have been more of a case of my poor explanation.
The attached vi solves the problem.
Now if I could only figure out how to plot a line from the start poit Y to the endpoit Y I'd be laughing.
02-03-2012 10:31 AM
Murph wrote:Now if I could only figure out how to plot a line from the start poit Y to the endpoit Y I'd be laughing.
What kind of line? According to the best fit? A straight line?
02-03-2012 10:35 AM
I'll try to explain.
The need for best fit was to determine a proper stop point. Once calculated we find the intersecting Y value there.
The end result is that we start at one y point on the baseline but finish on another.
The line I need might be easier to see in the attached pdf
02-03-2012 10:51 AM
Just generate another 1D array that contains NaN for all points outside the range and a liner ramp inside the range, the add it as a second plot to the graph using build array. That's easiest.
(A fancier solution would be using the "plot images" feature that allows using picture tools on graphs)