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