octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flickering movies


From: Marco Caliari
Subject: Flickering movies
Date: Thu, 25 Jun 2009 16:45:32 +0200 (CEST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

Dear maintainers,

I'm not sure I will describe a bug or just a different behavior, so I'm writing to the maintainers' list.
The execution of the following code in Octave 3.0.5

x = linspace(-1,1);
for i = 1:50
  plot(x,i*x.^2)
  axis([-1,1,0,50])
  pause(0.1)
end

produces a nice and fluent "movie". In particular, the axis box seems fixed (it is fixed to my eyes), and only the curve inside moves. With 3.2.0, I get a very flickering movie, with the axis box clearly redrawn at each step. What is strange, moreover, is that if I change

pause(0.1)

with

pause(0.01)

the axis box changes its dimensions during the loop and so the illusion of a movie disappears. I'm using gnuplot 4.2.5.

Best regards,

Marco


reply via email to

[Prev in Thread] Current Thread [Next in Thread]