[Matplotlib-users] interactive plot matplotlib

asaf asafeilam at gmail.com
Mon Nov 14 07:35:35 EST 2016


hi,
I'm trying to display figures on demand by input command, however the figure
isn't displayed and it becomes non_responding object. the code is given
below :

plt.close()
            fig = plt.figure()
            plt.subplot(211)
            plt.plot(t/24,ys)
            plt.hold('True')
    #        plt.plot(t/24,dend_value[:K2,K1])
            plt.plot(t/24,raw)
            plt.hold('True')
            plt.plot(t[-24:]/24,raw[-24:],color='r',lw=2)
            plt.title([decision,dend_flat.mean()+3*x1])
            plt.subplot(212)
            plt.plot(t/24,STD_)
            plt.hold('True')
            plt.plot(t/24,FLAT_Sig)
            plt.hold('True')
            plt.plot(t/24,num_of_sigma*STD2_)
              
            input('press enter')

I don't want to use waitforbuttonpress() because I want to play with the
figure before continuation.





--
View this message in context: http://matplotlib.1069221.n5.nabble.com/interactive-plot-matplotlib-tp47621.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


More information about the Matplotlib-users mailing list