User creates manually a directional or total deformation plot on a path:

The result curve is as follows:

They would like to extract the plot data values, create a linear interpolation between the first and last value and get the relative displacement as: relativeDef = extractedDef - linearRegressionDef