On Tue, Jun 16, 2009 at 10:39 PM, John Hunter<jdh2...@gmail.com> wrote: > On Tue, Jun 16, 2009 at 3:32 PM, Sebastian Haase<seb.ha...@gmail.com> > wrote:> On Tue, Jun 16, 2009 at 6:54 PM, John > Hunter<jdh2...@gmail.com> wrote: > >> Is there a similar function (to im.set_array) for graph plots ? > > for lines you would use line.set_data (or set_ydata, set_xdata). Eg > > http://matplotlib.sourceforge.net/examples/animation/simple_anim_tkagg.html > Thanks for the quick answer. This is obviously related to my post a few days ago -- a plotting benchmark ... What are the restrictions for the functions line.set_data or (assumingly similar) im.set_array ? E.g. must the size (shape) of the data remain unchanged ? Also, is there a performance difference if interactive mode is on or off ?
- Sebastian ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users