Re: [matplotlib-devel] plot_surface patch

2011-01-03 Thread Benjamin Root
On Tue, Dec 21, 2010 at 10:09 AM, Benjamin Root wrote: > > > On Wed, Dec 15, 2010 at 4:47 PM, Justin Peel wrote: > >> I decided to revisit this briefly and found another pretty easy change >> that gives a fairly significant speed boost for a large number of >> points. Basically, I just used two

Re: [matplotlib-devel] plot_surface patch

2010-12-21 Thread Benjamin Root
On Wed, Dec 15, 2010 at 4:47 PM, Justin Peel wrote: > I decided to revisit this briefly and found another pretty easy change > that gives a fairly significant speed boost for a large number of > points. Basically, I just used two list comprehensions instead of > looping. > > Justin, I finally h

Re: [matplotlib-devel] plot_surface patch

2010-12-15 Thread Justin Peel
I decided to revisit this briefly and found another pretty easy change that gives a fairly significant speed boost for a large number of points. Basically, I just used two list comprehensions instead of looping. On Mon, Dec 13, 2010 at 8:10 AM, Benjamin Root wrote: > On Tue, Nov 30, 2010 at 4:53

Re: [matplotlib-devel] plot_surface patch

2010-12-13 Thread Benjamin Root
On Tue, Nov 30, 2010 at 4:53 PM, Benjamin Root wrote: > On Wednesday, November 17, 2010, Benjamin Root wrote: > > On Tue, Nov 16, 2010 at 5:20 PM, J P wrote: > > > > > > Hi all, here's my first patch for matplotlib. Someone noticed at Stack > Overflow that the plot_surface function in mplot3d w

[matplotlib-devel] plot_surface patch

2010-11-30 Thread Benjamin Root
On Wednesday, November 17, 2010, Benjamin Root wrote: > On Tue, Nov 16, 2010 at 5:20 PM, J P wrote: > > > Hi all, here's my first patch for matplotlib. Someone noticed at Stack > Overflow that the plot_surface function in mplot3d wasn't especially fast for > a lot of points (and small rstrides/

Re: [matplotlib-devel] plot_surface patch

2010-11-17 Thread Benjamin Root
On Tue, Nov 16, 2010 at 5:20 PM, J P wrote: > Hi all, here's my first patch for matplotlib. Someone noticed at Stack > Overflow that the plot_surface function in mplot3d wasn't especially fast > for a lot of points (and small rstrides/cstrides) and using shading and a > single color. I found some

[matplotlib-devel] plot_surface patch

2010-11-16 Thread J P
Hi all, here's my first patch for matplotlib. Someone noticed at Stack Overflow that the plot_surface function in mplot3d wasn't especially fast for a lot of points (and small rstrides/cstrides) and using shading and a single color. I found some parts of the code that weren't vectorized. These are