>>>>> "Thierry" == Thierry Lam <[EMAIL PROTECTED]> writes:
Thierry> Let's say I have the following data: 500 objects: -100 Thierry> are red -300 are blue -the rest are green Thierry> Is there some python package which can represen the above Thierry> information in a pie chart? It looks like in python there is more than one way to make a pie chart. Here's another from pylab import figure, pie, show N, red, blue = 500, 100, 300 green = N - (red + blue) figure(figsize=(6,6)) pie( (red, blue, green), labels=('red', 'blue', 'green'), colors=('red', 'blue', 'green'),) show() A screenshot of a slightly more elaborate example is at http://matplotlib.sourceforge.net/screenshots.html#pie_demo JDH -- http://mail.python.org/mailman/listinfo/python-list