摘要: 今天看了一下使用python绘制图表的方法,有个强大的类库matplotlib,可以制作出高质量的2D和3D图形,先记录一下,以后慢慢学习。 matplotlib下载及API手册地址:http://sourceforge.net/projects/matplotlib/files/matplotlib/ 数学库numpy下载及API手册地址:http://www.scipy.org/Download 几个绘图的例子,来自API手册:1、最简单的图:代码:#!/usr/bin/env pythonimport matplotlib.pyplot as pltplt.plot([10, 20, . 阅读全文
posted @ 2012-02-27 00:17 Socrates 阅读(563) 评论(0) 推荐(0) 编辑