[Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread Robert Cimrman
Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. regards, r. - This SF.net email is sponsored by: Microsoft Defy all

Re: [Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread John Hunter
On Jan 29, 2008 8:33 AM, Robert Cimrman [EMAIL PROTECTED] wrote: Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. line.set_data(xdata, ydata) is what you are looking for JDH

Re: [Matplotlib-users] atomic line.set_xdata and set_ydata

2008-01-29 Thread Robert Cimrman
John Hunter wrote: On Jan 29, 2008 8:33 AM, Robert Cimrman [EMAIL PROTECTED] wrote: Is there a way of simultaneously setting both xdata and ydata of a line? I need to animate a line with varying number of points in each frame. line.set_data(xdata, ydata) is what you are looking for