LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Natural logarithm which curve fit to use?

Solved!
Go to solution
Solution
Accepted by topic author Murph

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.

0 Kudos
Message 11 of 14
(604 Views)

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?

 

 

 

0 Kudos
Message 12 of 14
(600 Views)
Spoiler
 

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

0 Kudos
Message 13 of 14
(598 Views)

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)

0 Kudos
Message 14 of 14
(595 Views)