[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 challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


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

Great! I did not see that one.

r.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users