[R] Plot timer in a for loop

Ken Spriggs ksspriggs at gmail.com
Tue Jun 10 16:28:06 CEST 2008


The goal is to look at an evolution of a process over 400 steps.  I don't
really need to page back and forth so much as I'd like to just watch it like
a flip book.  



jholtman wrote:
> 
> Write it out to a PDF file and you can view at your leasure.  On WIndows
> you
> have the option of paging back and forth between the plots.
> 
> On Mon, Jun 9, 2008 at 5:02 PM, Ken Spriggs <ksspriggs at gmail.com> wrote:
> 
>>
>> Hello,
>>
>> This code works fine but is so fast I can't see anything but the last
>> plot.
>>
>> for (i in nrow(X)){
>> plot(as.numeric(d[i,]))  }
>>
>> I'd like to view a plot every 500 milliseconds, nrow(X) = 400.  How?
>>
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/Plot-timer-in-a-for-loop-tp17741975p17741975.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html<http://www.r-project.org/posting-guide.html>
>> and provide commented, minimal, self-contained, reproducible code.
>>
> 
> 
> 
> -- 
> Jim Holtman
> Cincinnati, OH
> +1 513 646 9390
> 
> What is the problem you are trying to solve?
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 

-- 
View this message in context: http://www.nabble.com/Plot-timer-in-a-for-loop-tp17741975p17756807.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list