0

I want to find the distance between two points on a scatter plot. For clarification see the image: Scatter Plot

The challenge is to identify the points using an algorithm (as I want to automate it as much as possible), the rest is just getting distance between coordinates. I would appreciate if someone points me in the right direction.

Sumit Mann
  • 11
  • 3

1 Answers1

1

What you need is the euclidean distance. If you are using python, the package NumPy, which is often used for data analysis, provides a method for this.

Moritz Groß
  • 1,352
  • 12
  • 30
  • I know about euclidian distance, the main issue is recognizing the points. Alternatively I can get distance for each point and find minima. Would that work? – Sumit Mann Oct 07 '20 at 18:45
  • What do you mean be recognizing the points? Do you just have the graphic and not the actual data? – Moritz Groß Oct 07 '20 at 21:44
  • I do have the data, I meant identify the points using mathematics. I differentiated to see when the trend decreases. Thanks for help. – Sumit Mann Oct 07 '20 at 23:01
  • "identify the points using mathematics". What does that even mean? A point is just a pair (x, y) of two real numbers, or how is the data formatted? – Moritz Groß Oct 07 '20 at 23:29