t = linspace(0, 2*pi, 100); for i = 1:length(t) x = sin(t(1:i)); y = cos(t(1:i)); plot(x, y, 'b-', 'LineWidth', 2); axis([-1.5 1.5 -1.5 1.5]); drawnow; pause(0.03); endfor