kelis"
mailto:bic...@math.usask.ca>>,
"r-help@r-project.org<mailto:r-help@r-project.org>"
mailto:r-help@r-project.org>>
Subject: Re: [R] Double buffering plots on Windows
Message-ID:
mailto:b74c68da-a0b2-47dd-b54f-6b318488c...@stat.auckland.ac.nz>>
Content
ar 2024 10:43:29 +1300
From: Paul Murrell mailto:p...@stat.auckland.ac.nz>>
To: "Bickis, Mikelis" mailto:bic...@math.usask.ca>>,
"r-help@r-project.org<mailto:r-help@r-project.org>"
mailto:r-help@r-project.org>>
Subject: Re
Hi
Take a look at dev.hold() and dev.flush()
Paul
On 23/03/24 06:43, Bickis, Mikelis wrote:
Hello:
I want to present a sequence of plots as an animation. As a toy example
consider the code
function(n){for (i in 1:n){
plot(1:100,sin(i*(1:100)),type="l")
title(paste("n=",i))
segments(0,0,100
A search on "make animated plots in R" brought up many hits and the
gganimate package (and maybe others, as I didn't scroll through).
Bert
On Fri, Mar 22, 2024, 18:45 Bickis, Mikelis wrote:
> Hello:
>
> I want to present a sequence of plots as an animation. As a toy example
> consider the cod
Hello:
I want to present a sequence of plots as an animation. As a toy example
consider the code
function(n){for (i in 1:n){
plot(1:100,sin(i*(1:100)),type="l")
title(paste("n=",i))
segments(0,0,100,0,col=2)
}}
This sort-of works on a MacOS platform, but the rendering of the plots is a bit
c
5 matches
Mail list logo