tags:

views:

597

answers:

8

Hello. I like to know what libraries do you use for simple plot graphs? --Bar charts, line charts, pie charts ... Particularly in Python.

Thanks!

+16  A: 

matplotlib

Simon
A: 

Hello,

In this website http://www.dia.fi.upm.es/~jamartin/download.htm, you can see some excellent results using vpython

Eduardo
A: 

I haven't done much python programming, but I took a physics class that used VPython for 2d and 3d graphics. The plotting facility is really easy to use, but it can't do pie charts. Check out the documentation for the graphing module.

+2  A: 

You can also check out the Google Chart API: http://code.google.com/apis/chart/

Perhaps with pygooglechart: http://pygooglechart.slowchop.com/

It's simple to use in combination with urllib2, but for anything heavy-duty you'll want to use a native package.

cdleary
A: 

I have used matplotlib in the past, but i'm trying to get used to pgplot at the moment, which is technically a fortran module but there is a python-wrapped version ppgplot.

Also a C version cpgplot

Simon Walker
+1  A: 

Look at CairoPlot too.

Alex
+1  A: 

I'd say it depends on where you want to present it:

Rodrigo
A: 

DISLIN

ldigas