|
From: Sudheer J. <sud...@ya...> - 2013-03-12 14:49:14
|
Thank You Phil, It did it correctly. TkAgg is good with interactive plotting. with best regards, Sudheer From:Phil Elson <pel...@gm...> To: Sudheer Joseph <sud...@ya...> Cc: "mat...@li..." <mat...@li...> Sent: Tuesday, 12 March 2013 7:53 PM Subject: Re: [Matplotlib-users] matplotlib multiple windows comparison I hadn't spotted you were using the WxAgg backend too - this looks like the same bug that Brendan reported yesterday. The easiest solution would be to use another back-end until this is fixed. Do you have 'TkAgg' available? I currently do not have a wx installation to hand to try out any workarounds at the moment. Regards, On 12 March 2013 14:00, Sudheer Joseph <sud...@ya...> wrote: Thank you Phil, > But I had tried it earlier after seeing a another mail thread. I get command prompt but no figure pops up. > > >In [3]: import matplotlib.pyplot as plt > > >In [4]: plt.ion() > > >In [5]: plt.plot(range(10)) >Out[5]: [<matplotlib.lines.Line2D at 0x410f250>] > > >In [6]: > > > Any way out?? >with best regards, >Sudheer >*************************************************************** >Sudheer Joseph >Indian National Centre for Ocean Information Services >Ministry of Earth Sciences, Govt. of India >POST BOX NO: 21, IDA Jeedeemetla P.O. >Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 >Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), >Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) >E-mail:sjo...@gm...;sud...@ya... >Web- http://oppamthadathil.tripod.com >*************************************************************** > > >________________________________ > From: Phil Elson <pel...@gm...> >To: Sudheer Joseph <sud...@ya...> >Cc: "mat...@li..." <mat...@li...> >Sent: Tuesday, 12 March 2013 3:08 PM >Subject: Re: [Matplotlib-users] matplotlib multiple windows comparison > > > >Hi Sudheer, > >Try the interactive mode (http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.ion): > > >>>> import matplotlib.pyplot as plt >>>> plt.ion() >>>> plt.plot(range(10)) >[<matplotlib.lines.Line2D object at 0x1c565d0>] > >**a figure pops up here and hands you back the python command line** > > >>>> > > >Regards, > > > > > > > >On 12 March 2013 00:04, Sudheer Joseph <sud...@ya...> wrote: > >Dear experts, >>Is there a way to get back to the prompt after a plot is made and displayed with out closing the plot? >>The objective is to compare to plots or check some aspect about the plot made from the loaded variables. This is the standard behavior of matlab after plotting we get the prompt and we can make another plot if we want to compare 2. I know there is subplot option but it will be of small size if I need to make a spatial map at to time intervals and compare. The detail of my matplotlib is below >> >> >>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >>I use Ubuntu 12.04 64 bit version >>and >> >> >>In [3]: matplotlib.get_backend() >>Out[3]: 'WXAgg' >> >> >>In [4]: matplotlib.__version__ >>Out[4]: '1.2.0' >> >> >>with best regards, >>Sudheer >>*************************************************************** >>Sudheer Joseph >>Indian National Centre for Ocean Information Services >>Ministry of Earth Sciences, Govt. of India >>POST BOX NO: 21, IDA Jeedeemetla P.O. >>Via Pragathi Nagar,Kukatpally, Hyderabad; Pin:5000 55 >>Tel:+91-40-23886047(O),Fax:+91-40-23895011(O), >>Tel:+91-40-23044600(R),Tel:+91-40-9440832534(Mobile) >>E-mail:sjo...@gm...;sud...@ya... >>Web- http://oppamthadathil.tripod.com >>*************************************************************** >> >> >>________________________________ >>. >> >>------------------------------------------------------------------------------ >>Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester >>Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the >>endpoint security space. For insight on selecting the right partner to >>tackle endpoint security challenges, access the full report. >>http://p.sf.net/sfu/symantec-dev2dev >>_______________________________________________ >>Matplotlib-users mailing list >>Mat...@li... >>https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> > > > |