[Matplotlib-users] surface without lines + circular domain

2015-02-16 Thread Diego Avesani
Dear all, I have two problems. 1) I would like to plot a 3D surface, but without lines. 2) I would like to plot the surface on a circular domain. I mean, this is a piece of my code X = np.arange(0, 1, 0.05) Y = np.arange(0, 1, 0.05) X, Y = np.meshgrid(X, Y) R = np.sqrt(X**2 + Y**2) Z =

Re: [Matplotlib-users] surface without lines + circular domain

2015-02-16 Thread Raymond Smith
Hi, Diego 1) use the linewidth=0 kwarg to plot_surface (e.g. see http://matplotlib.org/examples/mplot3d/surface3d_demo.html) 2) Define your mesh by r, theta, then convert to x, y (e.g. see http://stackoverflow.com/a/26876699/2965572) Ray On Mon, Feb 16, 2015 at 9:45 AM, Diego Avesani