LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Line of best fit issues

Solved!
Go to solution

y=mx+b

 

Use the linear fit parameters that you get back to build a Y array for best fit line that exactly matches your X array or any other range you desire. If your x data doesn't have a x=0 then just make a new x-array of say 10pts which includes x=0 and x=max value for plotting. 

 

0 Kudos
Message 11 of 13
(421 Views)
Solution
Accepted by kishan1994

As I said, just use a ramp over the desired range (actually 2 edge points are sufficient to define the line), just just use linear evaluation using the fit result and an x array of the desired right and left limit and create another plot for the graph.

0 Kudos
Message 12 of 13
(420 Views)

Thank you very much for the help. 😄

0 Kudos
Message 13 of 13
(410 Views)