Re: [Matplotlib-users] animated plot with autoscaling

2008-04-26 Thread G Jones
Hi, Thank you for pointing that out, that does indeed do what I want mostly. However, while the data is autoscaled to the plot, the values on the y axis are not updated and they remain at their original values. I suspect this is because I am not giving a command to redraw the axes. How would I go a

Re: [Matplotlib-users] animated plot with autoscaling

2008-04-26 Thread John Hunter
On Fri, Apr 25, 2008 at 1:19 AM, G Jones <[EMAIL PROTECTED]> wrote: > Hello, > Thank you for the suggestion. However, I am refering to the > canvas.restore_region, draw_artist, blit, gui_repaint sort of > animation. > Glenn His suggestion is still correct -- after you update the line data and

Re: [Matplotlib-users] animated plot with autoscaling

2008-04-24 Thread G Jones
Hello, Thank you for the suggestion. However, I am refering to the canvas.restore_region, draw_artist, blit, gui_repaint sort of animation. Glenn On Thu, Apr 24, 2008 at 11:13 PM, Matthias Michler <[EMAIL PROTECTED]> wrote: > Hello Glenn > > Do you refer to a special example? > Maybe the followi

Re: [Matplotlib-users] animated plot with autoscaling

2008-04-24 Thread Matthias Michler
Hello Glenn Do you refer to a special example? Maybe the following helps you. -- from pylab import * ion() ax = subplot(111) # ... some plotting ax.relim() # reset intern limits of the current axes ax

[Matplotlib-users] animated plot with autoscaling

2008-04-24 Thread G Jones
I would like to extend the animated plot paradigm to an application where I need to autoscale the vertical axis each time the plot is updated. Any suggestions as to how to do so? I assume I need to tell the axis to autoscale, then draw the axis' artist. However, I am not sure how to do these things