Re: [Matplotlib-users] 3d animation

2010-08-21 Thread Benjamin Root
On Sat, Aug 21, 2010 at 2:39 PM, Benjamin Root wrote: > > > On Sat, Aug 21, 2010 at 7:03 AM, David Pine wrote: > >> Is it possible to do animation with the mplot3d toolkit? It seems like it >> ought to work but I am having trouble. In particular, it seems that the >> set_xdata and set_ydata co

Re: [Matplotlib-users] 3d animation

2010-08-21 Thread Benjamin Root
On Sat, Aug 21, 2010 at 7:03 AM, David Pine wrote: > Is it possible to do animation with the mplot3d toolkit? It seems like it > ought to work but I am having trouble. In particular, it seems that the > set_xdata and set_ydata commands do not work. I would imagine you need a > set_zdata functi

Re: [Matplotlib-users] Setting y-tick locations on an image plot changes y-axis limits, Bug or expected behavior?

2010-08-21 Thread Joe Kington
Thanks for the amazingly quick turnaround! -Joe On Sat, Aug 21, 2010 at 1:34 PM, Eric Firing wrote: > On 08/20/2010 12:18 PM, Joe Kington wrote: > > Hi, > > > > I've recently noticed that setting the y-tick locations on an image plot > > changes the y-axis limits, while changing the x-tick locat

Re: [Matplotlib-users] Setting y-tick locations on an image plot changes y-axis limits, Bug or expected behavior?

2010-08-21 Thread Eric Firing
On 08/20/2010 12:18 PM, Joe Kington wrote: > Hi, > > I've recently noticed that setting the y-tick locations on an image plot > changes the y-axis limits, while changing the x-tick locations does not > change the x-axis limits. I wouldn't have expected either to change the > axis limits, but it se

Re: [Matplotlib-users] label plot points

2010-08-21 Thread xyz
On 21/08/10 21:14, Jose Gómez-Dans wrote: > Use plt.text (x, y, point_labels ) or something along those lines. > > Jose > With plt.text() the plot line is sometimes covered by the point labels. Is there any option which recognise a collusion between the line and label? from pylab import * i

[Matplotlib-users] 3d animation

2010-08-21 Thread David Pine
Is it possible to do animation with the mplot3d toolkit? It seems like it ought to work but I am having trouble. In particular, it seems that the set_xdata and set_ydata commands do not work. I would imagine you need a set_zdata function as well but that seems not to exist, which suggests tha

Re: [Matplotlib-users] label plot points

2010-08-21 Thread Jose Gómez-Dans
On Saturday 21 Aug 2010 08:00:33 xyz wrote: > I would like to label all (x[i],y[i]) points in the plot with > point_labels[i]. > > Is it possible to label all points in a plot? Use plt.text (x, y, point_labels ) or something along those lines. Jose --

Re: [Matplotlib-users] Setting y-tick locations on an image plot changes y-axis limits, Bug or expected behavior?

2010-08-21 Thread Eric Firing
On 08/20/2010 12:18 PM, Joe Kington wrote: > Hi, > > I've recently noticed that setting the y-tick locations on an image plot > changes the y-axis limits, while changing the x-tick locations does not > change the x-axis limits. I wouldn't have expected either to change the > axis limits, but it se

[Matplotlib-users] label plot points

2010-08-21 Thread xyz
Hello, I have the following code: --- from pylab import * import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29] y = [20, 24, 8, 4, 12, 22, 31, 25,