【发布时间】:2016-06-06 13:37:26
【问题描述】:
我希望有人可能知道如何控制此页面底部的绘图大小:
https://drive.google.com/open?id=0BwVoW6BAobRDY3hJaHpReDBrbmM
我对 Rmarkdown 完全陌生。我玩过fig.width 和fig.height 无济于事。
【问题讨论】:
我希望有人可能知道如何控制此页面底部的绘图大小:
https://drive.google.com/open?id=0BwVoW6BAobRDY3hJaHpReDBrbmM
我对 Rmarkdown 完全陌生。我玩过fig.width 和fig.height 无济于事。
【问题讨论】:
在您的绘图中,添加+ coord_fixed() 以固定纵横比。你可以用ani.width和ani.height来改变GIF的大小,所以:
p <- p + coord.fixed()
gg_animate(p, 'output.gif', ani.width = 1000, ani.height = 1000)
【讨论】:
saveGIF。