Questions tagged [gganimate]

gganimate is a package for R that allows to produce animated graphics with ggplot2. It is based on the animation package.

gganimate is a package for R that allows to produce animated graphics with ggplot2. It is based on the animation package.

Repositories:

549 questions
0
votes
0 answers

installing ropensci/magick behind a firewall

I'm attempting to use the gganiminate library and I'm having an issue when I call gganimate::gganimate(myplot). The issue appears to be with a dependency library, magick. When I call the function I get the following warning: …
Mark Druffel
  • 629
  • 4
  • 10
0
votes
1 answer

How to create an animation showing an array of ordered numbers with number line?

I have an array var1 of 94 numbers. I want them to be shown in a gif with defined interval (e.g. 0.05 seconds). If possible, I also want to add an number line. I expect to see a picture like this (animated, of…
Matthew Hui
  • 634
  • 5
  • 18
0
votes
1 answer

Set the Axis values (in an animation)

How do I stop the Y-axis changing during an animation? The graph I made is at http://i.imgur.com/EKx6Tw8.gif The idea is to make an animated heatmap of population and income each year. The problem is the y axis jumps to include 0 or not include the…
iamreddave
  • 39
  • 5
0
votes
1 answer

Error in eval(lhs, parent, parent) : object 'eq; not found

I am getting the below error while doing a gif animated ggplot in R in the below script. library(plyr) library(dplyr) library(ggmap) library(ggplot2) eq=read.csv("eq.csv",stringsAsFactors = FALSE) names(eq) eq<-eq%>%filter(Magnitude>=7) ~~ Kindly…
0
votes
1 answer

Suppress alt text for GIFs in rmarkdown HTML output

I'm generating GIFs using the gganimate package within an RMarkdown file. When using output = github_document in the front matter, the GIF appears as expected in the output (github-document-output). However, when using output = html_document, the…
Jake Thompson
  • 2,591
  • 1
  • 16
  • 32
0
votes
2 answers

Ggplot - plot a dataframe with multiple points in 1 row in order to animate it with gganimate

I have a dataframe where each row contains information about the coordinates of 8 points at a point in time: Time x1 y1 x2 y2 x3 y3 … x8 y8 A row may look like this for example: myData <-…
Juraj
  • 99
  • 7
-1
votes
1 answer

Need help improving this GIF appearance while it runs inside shiny

I'm trying to run a GIF inside my shiny App. I'm technically using this code to generate a GIF and upload it manually from my computer inside the APP. Part of my dataset is shown below, what I'm trying to do is run a GIF that shows the top 10 movies…
-1
votes
1 answer

Slow down gganimate in R

How do I slow the plot below, down? I am trying to step through the days a bit slower. This is three years worth of data shown by day. Each day should be about 0.25 seconds. The code I am using to build this plot is…
BillZ
  • 127
  • 2
  • 7
1 2 3
36
37