From: Faust, Markus <Markus.F<aust@sp...>  20040903 08:40:50

Thanks John, but it doesn't work the way I would like it. I changed the script a little bit and added a hold, but there is a problem with the focus (with matplotlib0.62.4.win32py2.3.exe). from matplotlib.matlab import * import EasyDialogs from numarray import * x =3D arange(400.)*0.01+1. y =3D x**2*exp(x) for i in range(3): clf() figure(i+1, figsize=3D(11.0,7.5)) lines=3Dsemilogy(x, abs(y), 'r') set(lines, 'linewidth', 2.0) title('test') xlabel('x') ylabel('y') grid('on') draw() fname =3D 'test' + str(i) +'.png' savefig(fname, dpi=3D250) hold(True) resp =3D EasyDialogs.AskYesNoCancel("Next ?", default=3D1) if resp =3D=3D 1: hold(False) else: hold(False) show() Anybody can help? With matplotlib0.61.0numarray0.9win32py2.3 I have the desired behaviour with the following script, although show is called several times: from numarray import * from matplotlib.matlab import * x =3D3D arange(400.)*0.01+1. y =3D3D x**2*exp(x) for i in range(3): clf() Figure(figsize=3D3D(11.0,7.5)) lines=3D3Dsemilogy(x, abs(y), 'r') set(lines, 'linewidth', 2.0) title('test') xlabel('x') ylabel('y') grid('on') fname =3D3D 'test' + str(i) +'.png' savefig(fname, dpi=3D3D250) show() I want the possibility to have a look on each of the figures, e.g. zoom, after they have been created. Markus 