I have the following octave script,
TOTAL_POINTS = 100;
figure(1)
for i=1:TOTAL_POINTS
randX = rand(1);
randY = rand(1);
scatter(randX, randY);
hold on;
endfor
When I run this by octave script.m, I get nothing. When I add the line pause to the end of this script, it works but I only see the plot after all the 100 points are plotted.
I want to see the plot point by point. Not after I plotted every single point.
PS: I have Ubuntu.