Hello,

i have xy-measurement data that looks like this:

FindLinearPart.jpg

I want to find the linear part of a curve and want to draw or calculate the red linear function.
I have never done this and need some hints how to do that.

Is there a library (LGPL) that can do this?
Is there an algorithm for this?

Any help or hints are welcome.
Thx