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.in...@gmail.com;sudheer.jos...@yahoo.com
Web- http://oppamthadathil.tripod.com
***************************************************************


________________________________
 From: Phil Elson <pelson....@gmail.com>
To: Sudheer Joseph <sudheer.jos...@yahoo.com> 
Cc: "matplotlib-users@lists.sourceforge.net" 
<matplotlib-users@lists.sourceforge.net> 
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 <sudheer.jos...@yahoo.com> 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.in...@gmail.com;sudheer.jos...@yahoo.com
>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
>Matplotlib-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
------------------------------------------------------------------------------
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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to