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 with octave script.m, I get nothing. When I add a line pauseto the end of this script, it works, but I see the graph only after all points have been plotted 100.
I want to see a graph by points. Not after I built every point.
PS: I have Ubuntu.
source
share