I am using Octave 3.8.1 on an iMac (Yosemite OS) with gnuplot and x11. I have a small series of images, a short movie in fact, that I want to display in sequence without entire plot refreshing and flashing. I seem to have spent hours trying to research this on the Internet. For example:
X is a structure of FN frames, each of which is a 480x640 RGB color image. (A video, in other words.)
X=load("cam1");
[fx,fy,fcol,fn]=size(X.vidFrames)
% here fx=480, fy=640, fcol=3 for RGB datasets, and fn=number of frames
% X needed to be flipped so as not to display upside down
for i=1:fn
imshow(X.vidFrames(end:-1:1,:,:,i));
drawnow;
pause(.1);
end
This works OK .. EXCEPT each frame flashes as the entire plot window is cleared/redrawn by default for each new frame. The data here doesn't have to be a movie; all such plot function animations seem to flash all the time whether videos or differential equation time-series, etc. ... except maybe when using pcolor(). How do I turn off this plot refresh? So frustrating. I just want the next image/figure simply to overdraw the current one.
Thank you.
ps / I do not recall ever having this problem using Octave on Windows PCs ...