I am plotting 2 dataset in a figure and the plotted curves are similar in shape as shown in the first image. I am trying to match (closest match) the deflection/inflection point of the curves. I can do it by moviing the axis easily but my goal is to do it by algorithm and when I plot it I get something like in the second image. Any idea how may I proceed?
Image 2 (What it suppose to be or as I want it)
Priority is to match the red circled region of the curves.
Thank you in advance for your help.