Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Benjamin Root
Jerzy, I really do not wish to get into an argument with you. This seems to happen every time you come onto this mailing list. If "winning" this argument is so important to you, then you may have it. I will not continue to split hairs with you. Thank you for mentioning the concept of implicit sur

Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Jerzy Karczmarczuk
Le 01/11/2014 20:34, Benjamin Root a écrit : Actually, my response is still completely valid. You can only plot surfaces that can be represented parametrically in two dimensions. Find me a single plotting library that can do differently without having to get to this final step. 1. I did not

Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Peter Kerpedjiev
Hi Jerzy and Ben, Thanks for you answers! I must say that although Ben is right in principle, Jerzy's answer is exactly what I was looking for. Even if matplotlib can't do it by itself, there appears to be other libraries that do the heavy lifting and return a set of triangles which can then

Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Benjamin Root
Jerzy, Actually, my response is still completely valid. You can only plot surfaces that can be represented parametrically in two dimensions. Find me a single plotting library that can do differently without having to get to this final step. For matplotlib, it is up to the user to get the data to t

Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Jerzy Karczmarczuk
Le 01/11/2014 19:21, Benjamin Root answers the query of Peter Kerpedjiev, who wants to plot (with Matplotlib) the surface of an implicit surface (at least it was his presented example). Your comment "of course, plotting a sphere can be done in spherical coordinates" is actually the right tho

Re: [Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Benjamin Root
Generally speaking, a plottable 3D surface can be represented parametrically in 2D (hence why it is a surface). Your point cloud can not be represented parametrically in 2 dimensions, hence why you are having difficulty figuring out how to plot it as a surface. I used to have similar problems with