>>>>> "Richard" == Richard Harvey Chapman <[EMAIL PROTECTED]> writes:

    Richard> I'm using the latest matplotlib with wxPython 2.6.2.1 and
    Richard> the WxAGG backend. I have plotted a figure with 5
    Richard> subplots. I intentionally only plotted the first 10
    Richard> points of all of my data traces so I can simulate the
    Richard> look of real-time data. That is, I keep my xlim set to
    Richard> (now-60, now) for a window showing the last 60 seconds
    Richard> only. For the y-axis, I'd like it to autoscale, but it
    Richard> never does. I've tried calling
    Richard> axes.autoscale_view(scalex=False, scaley=True) for each
    Richard> subplot, but with no effect. For each update, I take each
    Richard> line in each subplot and update the x and y data with
    Richard> set_data(). I just add a few points every few seconds. Am
    Richard> I missing something? Why can't I get the y autoscaling to
    Richard> work? Autoscaling is on by default, and I've called
    Richard> get_autoscale_on() to confirm it.

Are you calling fig.canvas.draw() after the autoscale?

If you are still having troubles, please post a complete example....

JDH

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to