Hi,
I am a new user using Octave 4.2.1 in Windows 7. Somehow the following program always hang my machine if I don't specify a time in the "pause" command:
t=linspace(-1,1,1024);
plot(t,exp(t)),grid
title('exponential function')
pause
t0=clock;t=0;
while t<20
axis([0 0 1 1]+exp(-t/5)*[-1 1 -1 1])
drawnow
t=etime(clock,t0);
end
That is, I can't get the figure to "move" no matter what key I press. Thanks in advance for any advice that may be offered.
YF