Below is the mfile I'm using,
each time a new plot is displayed it flickers through all previously displayed plots.
If I run this mfile twice, the plot becomes a mass of flickering lines
Any help would be greatly appreciated.
To test it I used the following.
>>a = rand(5,25);
>>f = [1:1:25];
>>plotfrfs( a,f ' )
function plotfrfs(alpha,f)
grid
[r,c]=size(alpha);
for t=1:c/2-1;
clear plot
subplot(2,1,1);
plot(f(:,1),alpha(:,(t+1)),f(:,1),alpha(:,t));
subplot(2,1,2);
plot(f(:,1), alpha(:,(t+1)), f(:,1), alpha(:,t) );
pause (1);
end
endfunction
The GNUPlot installed is gnuplot_38i0
Thanks
Best regards
Albert