Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots a

2009-02-23 Thread Michael Droettboom
Thanks for the note on this. It's nice to know who wrote the original version. I'll add a note about this in the code comments. I'm not seeing a noticable change in this regard between 0.98.5 (which uses a pretty direct refactoring of your code) to the SVN trunk. The trunk does two things rat

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots a

2009-02-19 Thread Allan Haldane
a writes: > Michael Droettboom writes: > > > > Thanks for the pointers. > > > > The original simplification code was written by John Hunter (I believe), > > and I don't know if it was designed by him also or is a replication of > > something published elsewhere. So I take no credit for and have l

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-21 Thread a
Michael Droettboom writes: > > > Thanks for the pointers. > > The original simplification code was written by John Hunter (I believe), > and I don't know if it was designed by him also or is a replication of > something published elsewhere. So I take no credit for and have little > know

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-21 Thread Michael Droettboom
a wrote: > Michael Droettboom writes: > > >> I've checked this change into SVN so others can test it out. >> >> Assuming we don't discover any cases where this is clearly inferior, it >> should make it into the next major release. >> >> Mike >> >> > > Hi, > > This change looks good- it ha

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-21 Thread a
Michael Droettboom writes: > > I've checked this change into SVN so others can test it out. > > Assuming we don't discover any cases where this is clearly inferior, it > should make it into the next major release. > > Mike > Hi, This change looks good- it has the advantage of choosing po

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-21 Thread Michael Droettboom
mailto:md...@stsci.edu] >> Sent: 16 Jan 2009 1:31 PM >> To: Andrew Hawryluk >> Cc: matplotlib-devel@lists.sourceforge.net >> Subject: Re: [matplotlib-devel] path simplification can decrease the >> smoothness of data plots >> >> Michael Droettboom wrote: >&g

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-20 Thread Michael Droettboom
> Thanks for looking into this! The new plot is much improved, and the > simplified calculations are a pleasant surprise. I was also testing the > previous algorithm with solid_joinstyle set to "round" as it is the > default in my matplotlibrc. > > I am probably not able to build your patch here,

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-19 Thread Andrew Hawryluk
> -Original Message- > From: Michael Droettboom [mailto:md...@stsci.edu] > Sent: 16 Jan 2009 1:31 PM > To: Andrew Hawryluk > Cc: matplotlib-devel@lists.sourceforge.net > Subject: Re: [matplotlib-devel] path simplification can decrease the > smoothness of data plots &g

Re: [matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-16 Thread Michael Droettboom
Since I suspect this change will be a little bit of work, I just wanted to put my hand up and say I'm looking into it so we don't duplicate effort here. I think it's a worthwhile experiment, in any case. Mike Andrew Hawryluk wrote: > > I’m really excited about the new path simplification optio

[matplotlib-devel] path simplification can decrease the smoothness of data plots

2009-01-14 Thread Andrew Hawryluk
I'm really excited about the new path simplification option for vector output formats. I tried it the first time yesterday and reduced a PDF from 231 kB to 47 kB. Thanks very much for providing this feature! However, I have noticed that the simplified paths often look more jagged than the original