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

  • 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

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.