Re: [matplotlib-devel] Matplotlib and Numfocus Fiscal Sponsorship Agreement (FSA)

2015-01-21 Thread Nicolas P. Rougier
+1. Great news. Nicolas. > On 21 Jan 2015, at 20:22, Chris Barker wrote: > > +1 -- sounds great! > > > > On Tue, Jan 20, 2015 at 7:48 AM, Michael Droettboom wrote: > Matplotlib > is a widely used, well regarded, and powerful visualization > library that has dominated th

Re: [matplotlib-devel] Matplotlib and Numfocus Fiscal Sponsorship Agreement (FSA)

2015-01-21 Thread Chris Barker
+1 -- sounds great! On Tue, Jan 20, 2015 at 7:48 AM, Michael Droettboom wrote: > > > > > > > > > * Matplotlib is a widely used, well regarded, and powerful visualization > library that has dominated the Python visualization stack for over a > decade. However, to maintain that position, matplot

Re: [matplotlib-devel] trisurf plots with independent color data

2015-01-21 Thread Geoffroy Billotey
Hi, You can also try to pass a *color* array of size ntri (number of triangles) to the *set_array* method of the collection returned by *plot_trisurf*. See for instance: http://stackoverflow.com/questions/24218543/colouring-the-surface-of-a-sphere-with-a-set-of-scalar-values-in-matplotlib/2422948

Re: [matplotlib-devel] trisurf plots with independent color data

2015-01-21 Thread Byron K. Boulton
Thanks. This looks like it might work for me. I got your example to work, but I still need to figure out how to apply it to my problem. In particular there is the note about your Triangulation line which says that we assume there is a nice projection of the surface into the x/y-plane. Is this ju

Re: [matplotlib-devel] trisurf plots with independent color data

2015-01-21 Thread Maximilian Albert
Hi Byron, This is a bit of a workaround, but you can specify facecolors explicitly by creating a triangulation of your surface explicitly and creating a Poly3DCollection with these facecolors. I'm attaching an example below which is a modified version of the plot_trisurf demo [1] in the matplotlib

[matplotlib-devel] trisurf plots with independent color data

2015-01-21 Thread Byron K. Boulton
I often have Electromagnetic surface current data which I use MATLAB's trisurf function to plot. Since the surfaces are 3-dimensional I need a trisurf plotting tool which lets me specify the color of each triangle/vertex. MATLAB's trisurf function allows me to do that by passing it an array of c