I do not know why but I always have a hard time remembering the right commands to draw curves. Be it matplotlib or gnuplot I always have to go back to the documentation. Hopefully this will help me remember. There is a nice introduction here.

Python_Matplotlib.svg