This question already has an answer here:

I am trying to calculate the overlap area (normalized by the total area) of two plots. The plots are from X Y datasets.

I saw a lot of questions about getting the overlap area but from normal distributions(Percentage of overlapping regions of two normal distributions)

data1 https://drive.google.com/open?id=0BwQ2EnAgefKRZV9lQjZKbDJIY0k

data2 https://drive.google.com/open?id=0BwQ2EnAgefKRdEhBSGlrcG9VM3M

marked as duplicate by whuber r Oct 24 at 0:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The thread you reference contains a general solution. You only need to replace the analytic integration function integrate with a numeric integration function of your choosing. – whuber Aug 4 '16 at 22:12