Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
# 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