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 wrote: >

Re: [Matplotlib-users] Unsubscription

2014-10-16 Thread Raymond Smith
Please use the link on the bottom of every message sent to this mailing list: https://lists.sourceforge.net/lists/listinfo/matplotlib-users On that page, there is an option for un-subscribing. Best, Ray On Thu, Oct 16, 2014 at 4:22 PM, Almerindo Paiva wrote: > Dear Sirs, > > I would like to a

Re: [Matplotlib-users] Adding a colorbar --- how?

2014-06-15 Thread Raymond Smith
Hi Virgil, I did something very much like this recently by simply adding an axes to my figure and using it to show a linspace of the data range off which the line color was based. See http://matplotlib.org/examples/color/colormaps_reference.html. Best, Ray On Sun, Jun 15, 2014 at 6:17 PM, Virgi

Re: [Matplotlib-users] problem with patches in animation

2014-04-23 Thread Raymond Smith
it is getting confused. > > Again, very rusty memory here... > > Ben Root > > > > On Wed, Apr 23, 2014 at 9:34 AM, Raymond Smith wrote: > >> Hi Mark, >> >> I can't say this is the 'proper' solution or the correct interpretation, >

Re: [Matplotlib-users] problem with patches in animation

2014-04-23 Thread Raymond Smith
function is not removed. That is why lines that are animated > initially have no data. For a Patch object this is a bit harder, as it > needs something to begin with. > > It seems that this used to work in a previous version. > > Should I file a bug report? > > Mark > &g

Re: [Matplotlib-users] problem with patches in animation

2014-04-23 Thread Raymond Smith
Hi Mark, I can't say this is the 'proper' solution or the correct interpretation, but it should work. I think when blitting that the init function serves as a something of a "background" for the rest of the animation. So try changing def init(): *patch.center = (5, 5)* ax.add_patch(patch

Re: [Matplotlib-users] moving line

2014-04-19 Thread Raymond Smith
Hi Mike, Have you tried blitting? That prevents the draw from redrawing everything on the plot, allowing it to only redraw the single line that's moving, which should help any issues with speed. See some of the exampleswith FuncAnimation and als