On Tue, Mar 25, 2008 at 11:39 AM, Amit Finkler <[EMAIL PROTECTED]> wrote:
> I am using matplotlib to dynamically plot a graph with both my x and y > points taken from a measurement device. That is to say, in each iteration of > my while loop I'm reading two variables which I then want to plot with > matplotlib. Odd, are you using an older version of matplotlib (it works for me). Try seeding your data with an initial point xdata = [x] ydata = [y] or setting the axis limits before plotting ax.set_xlim(0,1) ax.set_ylim(0,1) Not sure why you are having problems.... JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users