Re: [python-chinese] 问一下,python有生成饼图,柱状图等的库么

123 views
Skip to first unread message

风向标

unread,
Apr 9, 2007, 6:13:02 AM4/9/07
to python-...@lists.python.cn
PIL好像可以的。

Hank Gong

unread,
Apr 9, 2007, 6:37:04 AM4/9/07
to python.cn
wxpython里面好像有一些演示干这个事情,另外scipy也有一个画图的库。

On Apr 9, 7:13 pm, "风向标" <vaneo...@gmail.com> wrote:
> PIL好像可以的。
>
> _______________________________________________
> python-chinese
> Post: send python-chin...@lists.python.cn
> Subscribe: send subscribe to python-chinese-requ...@lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-requ...@lists.python.cn
> Detail Info:http://python.cn/mailman/listinfo/python-chinese

jessinio smith

unread,
Apr 9, 2007, 7:50:40 AM4/9/07
to python-...@lists.python.cn
哪里有gnuplot的python封装找不到?

能给个地址吗?

马踏飞燕

unread,
Apr 9, 2007, 9:37:28 AM4/9/07
to python-...@lists.python.cn
看看pychart

http://home.gna.org/pychart/

PyChart is a Python library for creating high quality Encapsulated
Postscript, PDF, PNG, or SVG charts. It currently supports line plots,
bar plots, range-fill plots, and pie charts.

pie chart,这就是你要的大饼子图。

2007/4/9, SpitFire <spit...@gmail.com>:
> 谢谢
>
>
>
>
> SpitFire
> 2007-04-09
> _______________________________________________
> python-chinese
> Post: send python-...@lists.python.cn
> Subscribe: send subscribe to python-chin...@lists.python.cn
> Unsubscribe: send unsubscribe to python-chin...@lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
_______________________________________________
python-chinese
Post: send python-...@lists.python.cn
Subscribe: send subscribe to python-chin...@lists.python.cn
Unsubscribe: send unsubscribe to python-chin...@lists.python.cn
Detail Info: http://python.cn/mailman/listinfo/python-chinese

Hank Gong

unread,
Apr 9, 2007, 9:57:13 AM4/9/07
to python.cn
感觉还不如生成gnuplot的script更方便一些。

On Apr 9, 8:50 pm, "jessinio smith" <jessi...@gmail.com> wrote:
> 哪里有gnuplot的python封装找不到?
>
> 能给个地址吗?

symbol

unread,
Apr 9, 2007, 8:46:23 PM4/9/07
to python.cn
去看limodou的blog,有介绍..

Can Xue

unread,
Apr 10, 2007, 12:34:43 AM4/10/07
to pyth...@googlegroups.com
wx.Plot 没有饼图
PIL 的 Draw 和 wx.DC 的绘图功能差不多,只有基本的绘图功能。也就是说需要通过调用基本的画线等功能绘制统计图表。

具有完整的统计图表的 python 库有:

reportlab
Matplotlib

个人比较喜欢 reportlab

Weimin Li

unread,
Apr 10, 2007, 2:51:40 AM4/10/07
to pyth...@googlegroups.com, python-...@lists.python.cn
那再问可否把图表和excel数据关联嵌入excel中的?pychart or 其他模块可以实现?
谢谢!

tar9918

unread,
Apr 10, 2007, 1:20:37 PM4/10/07
to python.cn
更强大的工具是pylab http://matplotlib.sourceforge.net/ 但可能不觉得很好用。
Reply all
Reply to author
Forward
0 new messages