[SciPy-user] Re: [SciPy-dev] Interactive versus batch mode
nwagner at mecha.uni-stuttgart.de
Fri Aug 16 10:00:12 CDT 2002
Prabhu Ramachandran schrieb:
> >>>>> "NW" == Nils Wagner <nwagner at mecha.uni-stuttgart.de> writes:
> NW> Hi, As far as I know the features of plt are only useful in an
> NW> interactive mode. If I execute
> NW> What can I do to benefit from the zoom function of plt in
> NW> batch mode ?
> Hmm, what I used to do is add a line like so:
> raw_input('\nPress enter to finish.')
> and that would keep the window alive.
I followed your suggestion, but the menu items File and Titles disappear
in that case !
from scipy import *
from scipy import plt
x = arange(0.,2.*pi,0.01)
y = sin(x)
raw_input('\nPress enter to finish.')
> SciPy-user mailing list
> SciPy-user at scipy.net
More information about the SciPy-user