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