Matplotlib的安装方法请参考官方文档:http://matplotlib.sourceforge.net/users/installing.html
为了方便大家下载,这里提供NumPy、SciPy以及Matplotlib的下载地址:
NumPy:http://sourceforge.net/projects/numpy/files/
SciPy:http://sourceforge.net/projects/scipy/files/
Matplotlib:http://sourceforge.net/projects/matplotlib/files/matplotlib/
官方提供了Matplotlib很多示例,大家请参考:http://matplotlib.sourceforge.net/gallery.html
这里简单演示一个示例:
效果图如下所示: