[SciPy-user] xplt problem

Gordon Farquharson gordon at mirsl.ecs.umass.edu
Tue Sep 10 10:29:15 EDT 2002


Hi Pearu

Both suggestions work. Thanks. But why doesn't the original code ?

Gordon

On Tue, 10 Sep 2002, Pearu Peterson wrote:

>
> On Tue, 10 Sep 2002, Gordon Farquharson wrote:
>
> > Hi
> >
> > I am trying this code segment in a script (disp.py). If I run it using
> >
> > python2 disp.py
> >
> > it pops up a plot window but does not display the plot. However, if I try
> > the same command sequence in the python command interpreter, it works. Am
> > I doing something wrong ?
>
> No. But try
>
>   python2 -i disp.py
>
> or put the following line after xplt.plot command:
>
>   raw_input('Press any key to continue...')
>
> HTH,
> 	Pearu
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>

-- 
Gordon Farquharson
Microwave Remote Sensing Laboratory (MIRSL)
University of Massachusetts, Amherst
gordon at mirsl.ecs.umass.edu





More information about the SciPy-User mailing list