[R] Plot with pauses?
David Winsemius
dwinsemius at comcast.net
Thu Nov 12 06:55:45 CET 2015
> On Nov 11, 2015, at 9:30 PM, Judson <judsonblake at msn.com> wrote:
>
> 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.
>
?Sys.sleep
> For instance,
> code like this
>
> v<-0:60
> z<-3/5+4i/5
> t<-z^(v/9)
> plot(Re(t),Im(t))
If you want to plot points then use:
?points
>
> 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]]
>
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list