Box plot in Python

James Stroud jstroud at mbi.ucla.edu
Thu Mar 15 04:04:13 EDT 2007


Sebastian Bassi wrote:
> Hello,
> 
> Is there a graphic package for Python that provides support for box 
> plots? (see
> http://en.wikipedia.org/wiki/Box_plot and
> http://en.wikipedia.org/wiki/Image:R-speed_of_light_boxplot.png for
> information on box plots).
> 
> I have N sets of data, each with X "points".
> Example:
> 
> Set 1:
> Point 1: 0.21
> Point 2: 0.92
> Point 3: 0.18
> Point 4: 0.12
> ... cut ....
> Point 203: 0.91
> 
> then:
> 
> Set 2:
> Point 1: 0.11
> Point 2: 0.3
> Point 3: 0.82
> Point 4: 0.11
> ... cut ....
> Point 191: 0.09
> 
> ....
> 
> I know that R would do it, but I don't know how to use R and would
> like to keep on working in Python.
> 
> Best,
> SB.

Have you considered rpy?

Also, pychart can do anything. You can do a boxplot in pychart if you 
are modestly creative.



More information about the Python-list mailing list