From: John H. <jdh...@ac...> - 2004-09-28 17:37:39
|
>>>>> "Dirk" == <rep...@we...> writes: Dirk> John Hunter: Normally I wouldn't waste bandwith in a Dirk> mailing-list by sending neither a question nor an answer, Dirk> but in this case I feel the urge to thank you for your Dirk> support. Your function does exactly what I need and you even Dirk> gave a hint on how to implement such functional Dirk> extensions. On top of that, the answer came an hour after I Dirk> sent the question :-) Your welcome... Dirk> Do I have to dive into the class description at Dirk> http://matplotlib.sourceforge.net/classdocs.html to get this Dirk> informations or is there a more user-friendly description of Dirk> 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 |