Created
August 23, 2017 13:03
-
-
Save robwschlegel/a307414ae5bcdd0c94802dc97c41e438 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By default 'saveGIF()' outputs to the same folder | |
# the script where the code is being run from is located. | |
# For that reason one may want to manually change the | |
# working directory beforehand. | |
# setwd("somewhere else") | |
system.time(saveGIF(animate.polar.plot(df = PN), interval = 0.4, ani.width = 457, | |
movie.name = "polar_plot_PN.gif")) ## 262 seconds | |
system.time(saveGIF(animate.polar.plot(df = SP), interval = 0.4, ani.width = 457, | |
movie.name = "polar_plot_SP.gif")) ## 221 seconds | |
system.time(saveGIF(animate.polar.plot(df = KB), interval = 0.4, ani.width = 457, | |
movie.name = "polar_plot_KB.gif")) ## 183 seconds | |
# setwd("back to where you were") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment