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 before

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

Re: [Matplotlib-users] animated plot with autoscaling

2008-04-25 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

Re: [Matplotlib-users] animated plot with autoscaling

2008-04-25 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 following