设为首页 加入收藏

TOP

Python:使用matplotlib绘制图表
2014-11-24 14:04:10 来源: 作者: 【 】 浏览:0
Tags:Python: 使用 matplotlib 绘制 图表

matplotlib下载及API手册地址:http://sourceforge.net/projects/matplotlib/files/matplotlib/


数学库numpy下载及API手册地址:http://www.scipy.org/Download


几个绘图的例子,来自API手册:


1、最简单的图:


代码:


测试:



2.饼图:


代码:


测试:




3、使用numpy库函数:


代码:


测试:



】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Linux设备驱动编程模型之设备篇 下一篇Linux-C实现GPRS模块发送短信

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: