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

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

2009-02-19 Thread Allan Haldane
a writes: Michael Droettboom md...@... 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

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

2009-01-21 Thread Michael Droettboom
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: ... I've attached a patch that will only include points from the original data

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

2009-01-21 Thread a
Michael Droettboom md...@... 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

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

2009-01-21 Thread Michael Droettboom
a wrote: Michael Droettboom md...@... 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

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

2009-01-21 Thread a
Michael Droettboom md...@... 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

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, unless

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 Michael Droettboom wrote

[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