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

2014-11-01 Thread Peter Kerpedjiev
arczmarczuk mailto:jerzy.karczmarc...@unicaen.fr>> wrote: 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 &qu

[Matplotlib-users] plot arbitrary 3D surface

2014-11-01 Thread Peter Kerpedjiev
Hi, I'm trying to plot an outline of an arbitrary 3D shape using matplotlib's plot_surface, and I wanted to ask if any one has any ideas as to how to do it. Here's the beginnings of a simple example: # create a grid resolution = 10 xs = np.linspace(-1,1,resolution) ys = np.linspace(-1,1,resolu