[Matplotlib-users] weird line in histogram

2008-11-08 Thread nicky van foreest
Dear All, I try to plot a histogram, which succeeds nicely, but I also get a strange line in the same plot. Does anybody know why this is the case, and what to do about it? Here is the code: n, bins, patches = hist(res,bins = 10, cumulative=True, normed=False) l = plot(bins) show()

[Matplotlib-users] box whisker plot in eps

2008-06-11 Thread nicky van foreest
Dear all, I like to include a box and whisker plot as an eps in a latex document. Does anybody know how to produce such a plot in black and white, or some suitable gray scale? boxplot() does not accept color as an argument. I also tried putting the function gray() before and after boxplo(), but th