【问题标题】:animate time series is giving weird intermediate PNGs with dark green plot fill colors动画时间序列给出了带有深绿色绘图填充颜色的奇怪中间 PNG
【发布时间】:2021-06-09 22:24:17
【问题描述】:

我尝试过在 gganimate 中更改从限制到单组到更改 fps 的几件事。还没有成功。谁能弄清楚为什么我的 gif 看起来像这样

    totalnew$Date <- tsibble::yearmonth(totalnew$Date)
  p3 <- ggplot(totalnew, aes(x = Date, y = value, colour = ecotype)) +
  geom_line() +
  ggtitle("Monthly Methane Emissions") +
  # theme(legend.position = "bottom") +
  transition_reveal(as.Date(Date))

动画(p3,高度 = 800,宽度 =800)

【问题讨论】:

标签: r datetime ggplot2 time-series gganimate


【解决方案1】:

看起来它正在工作。好像是渲染器包的问题:

animate(anim, renderer = magick_renderer())

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-01-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-01
    • 1970-01-01
    • 2014-11-02
    • 2012-07-12
    相关资源
    最近更新 更多