Re: [Numpy-discussion] [Newbie] Fast plotting

2009-01-07 Thread Franck Pommereau
Hi all, First, let me say that I'm impressed: this mailing list is probably the most reactive I've ever seen. I've asked my first question and got immediately more solutions than time to test them... Many thanks to all the answerers. Using the various proposals, I ran two performance tests: -

Re: [Numpy-discussion] [Newbie] Fast plotting

2009-01-07 Thread Franck Pommereau
This probably will have no impact on your tests, but this looks like a bug. You probably mean: recXY = numpy.rec.fromarrays((x, y), names='x, y') Sure! Thanks. Could you post the code you use to generate you inputs (ie what is x?) My code is probably not usable by somebody else than

[Numpy-discussion] [Newbie] Fast plotting

2009-01-06 Thread Franck Pommereau
Hi all, and happy new year! I'm new to NumPy and searching a way to compute from a set of points (x,y) the mean value of y values associated to each distinct x value. Each point corresponds to a measure in a benchmark (x = parameter, y = computation time) and I'd like to plot the graph of mean