[R] Plot with pauses?

Judson judsonblake at msn.com
Thu Nov 12 06:30:29 CET 2015


I'm trying to create a 
series of demos for students.  

It would be helpful
if plotted data points
could appear one by one
with, say, half-second delays 
between points.  
 
For instance, 
code like this

v<-0:60
z<-3/5+4i/5
t<-z^(v/9)
plot(Re(t),Im(t))

would be better if I 
could invoke some 
pausing between points 
so the student could see
the progression of 
the process.  Many 
mathematical progressions 
might be more understandable
if the viewer could see
this happen over intervals
of time.   

Naturally I'd like to 
avoid for loops if that's 
possible.  

I really don't know
where to start my 
search.   Any suggestions?  

..... judson blake 		 	   		  
	[[alternative HTML version deleted]]



More information about the R-help mailing list