Re: [Matplotlib-users] bezier curve through set of 2D points

2010-01-14 Thread Christopher Barker
Jae-Joon Lee wrote: > On Thu, Jan 14, 2010 at 4:38 AM, Mark Bakker wrote: >> Does matplotlib have a routine that can fit a cubic Bezier curve through an >> array of 2D points? This looks like a pretty nice algorithm: http://www.antigrain.com/research/bezier_interpolation/index.html -Chris --

Re: [Matplotlib-users] bezier curve through set of 2D points

2010-01-14 Thread Jae-Joon Lee
On Thu, Jan 14, 2010 at 4:38 AM, Mark Bakker wrote: > Does matplotlib have a routine that can fit a cubic Bezier curve through an > array of 2D points? > > I saw some Bezier routines in Path, but couldn't find what I am looking for. > As far as I know, no. > If matplotlib doesn't have it, does a

[Matplotlib-users] bezier curve through set of 2D points

2010-01-14 Thread Mark Bakker
Hello List, Does matplotlib have a routine that can fit a cubic Bezier curve through an array of 2D points? I saw some Bezier routines in Path, but couldn't find what I am looking for. If matplotlib doesn't have it, does anybody have another suggestion in Python? Thanks, Mark -