fill area between two curves? fill_between?

John Hunter: Normally I wouldn't waste bandwith in a

    > mailing-list by sending neither a question nor an answer,
    > but in this case I feel the urge to thank you for your
    > support. Your function does exactly what I need and you even
    > gave a hint on how to implement such functional
    > extensions. On top of that, the answer came an hour after I
    > sent the question :slight_smile:

Your welcome...

    > Do I have to dive into the class description at
    > http://matplotlib.sourceforge.net/classdocs.html to get this
    > informations or is there a more user-friendly description of
    > the matplotlib internals?

I think the best way, after studying the examples in the examples
directory of the src distribution, is to read through the code in
axes.py. Almost all of the plotting functions in matplotlib.matlab
are wrappers for axes plotting functions. Eg scatter wraps
matplotlib.Axes.scatter, plot wraps matplotlib.Axes.plot and so on.
Most of the axes plotting functions in turn create the primitive
objects that actually make up the plot. Axes.plot is one of the more
complicated functions, since it does a lot of variable length argument
processing, so it is probably not the best place to start.

If you have a link to the classdocs open, as you read through the axes
code, you can read the docs for the functions that are being called.

JDH

Hi John,

I agree with Dirk on the precision and promptness of your responses to all our
questions. I am always learning new things about matplolib (MPL) through
theses Q&A exchanges. But since topic of bandwidth usage came up in this
thread, for the sake of saving not only Sourceforge's but also JDH's
bandwidth, I believe a documentation project for MPL should be started. I
understand that you might not want to commit effort to document MPL now,
since it's still under pretty intense development. However, starting a Wiki
documentation project might be a good idea, since the user community could
help by adding short tutorials and recipes derived from their own experience
with MPL. Moreover, the wiki could slowly evolve into a full blown
documentation project.

What do you think?

cheers,

Flavio

···

On Tuesday 28 September 2004 16:48, John Hunter wrote:

    > John Hunter: Normally I wouldn't waste bandwith in a
    > mailing-list by sending neither a question nor an answer,
    > but in this case I feel the urge to thank you for your
    > support. Your function does exactly what I need and you even
    > gave a hint on how to implement such functional
    > extensions. On top of that, the answer came an hour after I
    > sent the question :slight_smile:

Your welcome...

---