|
From: Andreas H. <li...@hi...> - 2012-10-16 14:13:14
|
> I have a coordination system with some plotted dots connected with a > line. Now I'd like to fill up the whole space between the line and the > x-axis. It is the same as in a integral calculation: > http://www.definicionabc.com/wp-content/uploads/Integral.png > What I want to do is the same as the green color in the linked picture. You can find an example in the matplotlib gallery (http://matplotlib.org/gallery.html): http://matplotlib.org/examples/pylab_examples/fill_between_demo.html The function you're looking for is ``fill_between``. Cheers, Andreas. |