Re: [matplotlib-devel] Agg large-dataset optimization

2007-07-10 Thread Eric Firing
[EMAIL PROTECTED] wrote: John (and others), I've made a quick change to the svg backend to cull the data, see attached patch. I haven't tested it extensively, but it seems OK. It culls both lines and polygons out of svg output. Allan, Looks good, and the basic idea should be generally

Re: [matplotlib-devel] Agg large-dataset optimization

2007-07-09 Thread John Hunter
On 7/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: First, I noticed a bug in the version I sent before. I've attached a new version in patch form, to be applied from the base directory of a normal 0.90.1 installation with 'patch -p1 patch'. Thanks Allan, I just applied this to svn. Some

Re: [matplotlib-devel] Agg large-dataset optimization

2007-07-09 Thread ahalda
On Mon, July 9, 2007 10:57 am, John Hunter wrote: I wonder if you cached some of the interval tests whether you might see some additional speedups. Eg, something like You could do this, but I don't think you would even notice the difference. Really, my impression is that the only things

Re: [matplotlib-devel] Agg large-dataset optimization

2007-07-09 Thread ahalda
John (and others), I've made a quick change to the svg backend to cull the data, see attached patch. I haven't tested it extensively, but it seems OK. It culls both lines and polygons out of svg output. About making it general across backends: I've looked a bit at how things get rendered, and

Re: [matplotlib-devel] Agg large-dataset optimization

2007-07-08 Thread ahalda
Hi, First, I noticed a bug in the version I sent before. I've attached a new version in patch form, to be applied from the base directory of a normal 0.90.1 installation with 'patch -p1 patch'. One artifact I can clearly see is there is partly due to skipping lines 1 pixel in length. The

Re: [matplotlib-devel] Agg large-dataset optimization

2007-07-07 Thread Eric Firing
John, Have you considered Allan's version of _backend_agg.cpp (message date was 06/27)? I just tried it, and so far, I like it. I have not found any problems with the backend_driver.py test, and the improvement in speed that Allan notes with the plot(rand(10)) example is dramatic--the