|
From: Phil E. <pel...@gm...> - 2013-03-12 09:38:49
|
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 > > |