Here's what I want to do: I have a diagram of y: concentration to x: space (at% / m). In this diagram I want to set the so called Matano plane. http://lp.uni-goettingen.de/get/image/7122 This plane is defined as the point, where the area above the line and left to the plane is the same as right to it and below. So the first step is the area above and left, which simly is the integral of the diagram turned top to bottom. The second step is where my problem lies. I need to know, how I run my integration backwards, starting from the highest x value downwards. Sadly, I wasn't able to find out how to do this myself.