Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-14 Thread Jouni K . Seppänen
Gökhan SEVER writes: > Still a question stays in my mind: How do you decribe box-whisker plots in > your writing while using matplotlib's boxplot command? It uses 25, 50, 75th > percentiles of the data for sure, but apart from what I expected whiskers > are not at 5th, and 95th percentiles of the

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-14 Thread Gökhan SEVER
Hello, I have finally solved this riddle while reading the source code of boxplot in axes.py file. And yes whisker plotting is done different than I expect. When I assigned "whis" keyword to 3.0 the lower whisker is plotted on the right spot. And Josh, yes you were right, it did plot the lower whi

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-13 Thread Gökhan SEVER
One more point to add. I issued one more boxplot with prctile(data) (a mlab command which boxplot calls internally to calculate percentiles) as an argument to it. Guess what? I get almost the same as in initially I have :) without a lower whisker. I don't know I am confusing myself or is it the

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-13 Thread Gökhan SEVER
Ok, With this figure, it is clearer to see what's wrong with two of my boxplots. I pull the original data and feed boxplot with it. The 1st boxplot is using only quartiles and the next is providing the actual data array. http://img140.imageshack.us/img140/4705/boxplots.png To me the second boxp

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-13 Thread Gökhan SEVER
Thank you for the response once again. That's why I am suspecting actually the raw data. At the problem points there might be not included values or missing values where not exist on the normal plots. I will find the original data and feed boxplot with it to see how it effects the final result.

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-13 Thread Josh Hemann
Thanks for sending the data and code. After playing around some I still don't have a confident guess as to the problem (or solution), but here is what I would look at more... I issued plot(d[i][8:]) for i 0,1,...11 and looked at the shape of the lines. For the two problem boxes, the plots of

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-12 Thread Gökhan SEVER
I zoomed into the plot to see if the whiskers are usually being plotted. There seems like a vertical line plotted over lower part of the boxplot, however not in the right place. I am attaching the simple text file that has the quartile values in it. I run ipython --pylab and do the following for a

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-12 Thread Josh Hemann
Gökhan SEVER-2 wrote: > > For some reason on boxplot 3 and 5 on the figure I get fliers instead of > whiskers on the lower parts. > When I look closely at your graphic it looks to me like the lower whiskers are in fact being plotted, but just (essentially) overlayed on lower quartile part of

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-12 Thread Gökhan SEVER
I can't tell easily about the distribution of data points looking at histograms, since I am calling boxplot as in following notation: In [32]: d[2][8:] Out[32]: array([98.2507, 99.6293, 100.0359, 100.1859, 100.4691]) Here the elements of my array are 5th, 25, 50, 75, 95th percentile of the or

Re: [Matplotlib-users] One more question regarding to boxplotting

2009-05-12 Thread Stephen George
Why don't you perform a histogram on the data that produced that boxplot, .. seeing the shape of that histogram may answer your own question. Is it skewed or normal distribution? Gökhan SEVER wrote: > Hello, > > I construct my boxplots (shown in this figure: > http://img204.imageshack.us/img20

[Matplotlib-users] One more question regarding to boxplotting

2009-05-12 Thread Gökhan SEVER
Hello, I construct my boxplots (shown in this figure: http://img204.imageshack.us/img204/7518/boxplot2.png) using 5th, 25th, 50th, 75th, 95th percent of my data explicitly. For some reason on boxplot 3 and 5 on the figure I get fliers instead of whiskers on the lower parts. Do you have any idea w