Re: [Matplotlib-users] bisecting triangulation

2013-07-02 Thread Ian Thomas
On 1 July 2013 13:40, zetah ot...@hush.ai wrote: Hi, I have set of points in a plane and make triplot: subplot(121) plot(points[:,0], points[:,1], 'o') title('Set of points') subplot(122) triplot(points[:,0], points[:,1]) title('Triangulation') result:

Re: [Matplotlib-users] bisecting triangulation

2013-07-02 Thread zetah
On вторник, 02 јули 2013 at 11:04 AM, Ian Thomas wrote: You need to use a matplotlib.tri.Triangulation (your use of triplot does this for you behind the scenes anyway), something like: import matplotlib.tri as mtri triang = mtri.Triangulation(xpoints, ypoints) Now triang.triangles is an array