Next revision | Previous revisionLast revisionBoth sides next revision |
matplotlib [2010/06/30 12:33] – created ginko | matplotlib [2010/07/21 11:23] – ginko |
---|
====== Matplotlib ====== | ====== Matplotlib ====== |
Matplotlib est une bibliothèque python pour dessiner des graphiques de toutes sortes (courbes, surfaces, camembert, graphs polaires, histogrammes, etc). Elle fournit une interface prochde de la syntaxe de matlab, mais il reste [[http://matplotlib.sourceforge.net/faq/usage_faq.html|possible]] de l'utiliser de façon plus orientée objet. | Matplotlib est une bibliothèque python pour dessiner des graphiques de toutes sortes (courbes, surfaces, camembert, graphs polaires, histogrammes, etc). Elle fournit une interface prochde de la syntaxe de matlab, mais il reste [[http://matplotlib.sourceforge.net/faq/usage_faq.html|possible]] de l'utiliser de façon plus orientée objet. |
| ===== Doc générale ===== |
| * [[http://matplotlib.sourceforge.net/index.html|Site officiel]] |
| * [[http://matplotlib.sourceforge.net/contents.html|Doc officielle]] |
| * [[http://matplotlib.sourceforge.net/faq/howto_faq.html|HowTo]] (Doc officielle) |
| * [[http://matplotlib.sourceforge.net/users/pyplot_tutorial.html|Tuto]] (Doc officielle) |
| * [[http://matplotlib.sourceforge.net/users/index.html|User's Guide]] (Doc officielle) |
| ===== Unofficial doc ===== |
| * [[http://www.scipy.org/Cookbook/Matplotlib|Cookbook]] (sur SciPy) |
| * [[http://www.scipy.org/Cookbook/Matplotlib/Legend|Legend]] |
| * [[http://math.mad.free.fr/depot/numpy/courbe.html|Tracer des courbes]] (fr) |
===== Elements utiles (en premier lieu) de l'API ===== | ===== Elements utiles (en premier lieu) de l'API ===== |
* [[http://matplotlib.sourceforge.net/api/pyplot_api.html|Pyplot]] | * [[http://matplotlib.sourceforge.net/api/pyplot_api.html|Pyplot]] |
* [[http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.clf|Clear Figure]] | * [[http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.clf|Clear Figure]] |
* [[http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plotfile|Plot File]] (Plotter directement depuis un fichier .*sv) | * [[http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plotfile|Plot File]] (Plotter directement depuis un fichier .*sv) |
| ===== Astuces ===== |
| |
===== Différents types de graphiques ===== | ===== Différents types de graphiques ===== |
* [[http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar|Diagramme en barres]] | * [[http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.bar|Diagramme en barres]] |