Skip to content
Prev 241132 / 398500 Next

Extending a plot in a loop

Am Mittwoch, 10. November 2010, 19:22:38 schrieb Nasrin Pak:
Hello,

use something like this:
plot(0, 0, type="n", xlim=c(0, maxTime), ylim=c(minY, maxY))

for ( i in 1:100) {
	lines(x[i], y[i]);
}

?plot
?lines
?points

Bye,

Sebastian