0

How could i plot two functions like in the image. My question is not how to exactly define the functions from the plot but i am looking for a functionality for filling the areas under the functions: same color the common area(white) and different the others as in the pic (grey and green striped). Image this as a pdfenter image description here

1 Answer 1

2

The matplotlib example gallery has a plot showing how to do this:

http://matplotlib.org/examples/pylab_examples/fill_between_demo.html

Usually, looking at the following page tells you how to do various things:

http://matplotlib.org/gallery.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.