[Matplotlib-users] animations with python and gtk3
I am using python 2.7 and matplotlib animations example . when i am using gtk2 as a reference the plots works fine but when i change the backend to gtk3 i start getting errors . can someone help with that how to work with animations / blit in gtk3 -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
Re: [Matplotlib-users] animations with python and gtk3
On Wed, Jul 24, 2013 at 3:09 AM, Gurinder Singh Gill wrote: > I am using python 2.7 and matplotlib animations example . > when i am using gtk2 as a reference the plots works fine > but when i change the backend to gtk3 i start getting errors . > can someone help with that > how to work with animations / blit in gtk3 > > It would be helpful to know which version of matplotlib you are using, which example you are referring to (I can guess, but I would rather know for sure) and/or a minimal self-contained example that demonstrates the problem you are having. Cheers! Ben Root -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] How to update matplotlib's imshow() window interactively?
I'm working on some computer vision algorithm and I'd like to show how a numpy array changes in each step.What works now is that if I have a simple imshow( array ) at the end of my code, the window displays and shows the final image.However what I'd like to do is to update and display the imshow window as the image changes in each iteration.So for example I'd like to do:The problem is that this way, the Matplotlib window doesn't get activated, only once the whole computation is finished.I've tried both native matplotlib and pyplot, but the results are the same. For plotting commands I found an .ion() switch, but here it doesn't seem to work.Q1. What is the best way to continuously display updates to a numpy array (actually a uint8 greyscale image)?Q2. Is it possible to do this with an animation function, like in the dynamic image example? I'd like to call a function inside a loop, thus I don't know how to achieve this with an animation function. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/How-to-update-matplotlib-s-imshow-window-interactively-tp41599.html Sent from the matplotlib - users mailing list archive at Nabble.com.-- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users
[Matplotlib-users] Axis scale change for subplots
I'm trying to plot 6 plots onto A4 papersize dimensions as 3x2 images. While I've got the plots, the y axis scale is puzzling me. The data is index ticker data(it doesn't go negative at all) but the scale goes from -1000 to max index for the 2nd to 6th plot. I had to use something like ax3.axis([x[1], x[-1], 0.8 * y_min, 1.1 * y_max]) to fix it. You can see the difference in the 2nd plot versus the rest. The code is here http://pastebin.com/mhUHSpLe and the image here http://imgur.com/frNjth3 sivaram p.s this is my first try using matplotlib -- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk ___ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users