473,386 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Box plot in Python

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...ht_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.
Mar 15 '07 #1
3 3401
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...ht_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.
Mar 15 '07 #2
Matplotlib supports boxplots in a very straightforward fashion and is
reasonably documented (just google it!) I actually just submitted a
patch for extra boxplot features in matplotlib, which you can find on
the sourceforge patch tracker.
-Rob
Mar 15 '07 #3
On 3/15/07, Rob Clewley <rh***@cornell.eduwrote:
Matplotlib supports boxplots in a very straightforward fashion and is
reasonably documented (just google it!) I actually just submitted a
patch for extra boxplot features in matplotlib, which you can find on
the sourceforge patch tracker.
OK, I will try it.
Thanks!
Mar 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dr. Colombes | last post by:
MatPlotLib question: How to get more different size plot symbols in the plot function ? Is there a way to get different size squares (or circles or triangles, etc.) ? For example, in a two...
1
by: Dr. Colombes | last post by:
Using MatPlotLib plot function, is there a way to get variable size plot symbols? For example, using symbol strings like 'o' (circle), 's' (square), 'x' (cross), etc., is there a way to specify...
8
by: questions? | last post by:
I want to make a 3d plot. x is a vector(discrete), y is also a vector(discrete), for each pairwise x,y I have a value z(x,y)(it is not a function, just discrete values for each pair of x,y) I...
1
by: Bo Peng | last post by:
Dear list, I am using rpy, a python module to control statistical package R from python. Running the following commands >>> from rpy import * >>> r.plot(0) will pass command 'plot' to R...
3
by: Frank | last post by:
Hi, does anyone know if there is a way to plot a dendrogram with python. Pylab or matplotlib do not provide such a function. Thanks! Frank
3
by: python101 | last post by:
I would like to plot something like Sin(x), Cos(x), etc using python, I wonder if python has built-in graphic class for plot.
0
by: meggahertz | last post by:
I am using matplotlib to generate plot in python in linux. The porblem I am facing is that when I generate a plot using plot() then show() the script stops at that point until I close the plot...
1
by: dazzler | last post by:
Hi! I just moved using wxpython so I'm a quite newbie. I was wondering how to update plotcanvas? In my code I made button with event to update plotcanvas with new results, but how to properly do...
6
by: SpeedMath | last post by:
Actually, I already "compute out my wind vectors" in my case study by using Python. I couldn't find any information for plotting my wind vector field by using Python command.I...
1
by: oyinbo55 | last post by:
I am trying to use the pylab plot command on my laptop running Ubuntu 6.06 (Dapper). Although the plot command works fine on my XP desktop at work, I cannot open the plot window on the laptop. I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.