-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot change resolution of output #15
Comments
Use the |
Small hint: this only works if you're not specifying a file to write to. Just had this issue. For example For this you'll have to specify the width & height in
Happy to update the docs to reflect that if that's wished. |
@gedankenstuecke, first, if you explicitly specify the gg_animate(plot, filname = "output.mp4", ani.width=800, ani.height=400) Alternatively, you can pass in the filename as the last argument, and it will work as well. gg_animate(plot, ani.width=800, ani.height=400, "output.mp4") |
Ah, thanks! Then nevermind! |
Hmm, I tried this, and got the following error message:
|
Yes, animation::ani.options(ani.width = 1000, ani.height = 800)
gganimate(gg, filename = "test.gif") |
AFAIK, given that the default for animation::ani.options(ani.width = 1000, ani.height = 800, ani.res = 300)
gganimate(gg, filename = "test.gif") While this works great for me, the solution isn't obvious because |
We are finishing a complete rewrite of gganimate undertaken by Thomas Pedersen, with massive breaking changes to the API (this will come with a version bump to 1.0.0; currently 0.9.9.9999). This fixes many existing bugs and installation difficulties, and offers a more intuitive grammar of graphics. As a result I'm closing almost all open issues, since they aren't relevant to the new version (bug reports in particular no longer apply). I apologize for any inconvenience in updating your existing code, but the new version of gganimate will be well worth the effort.
|
Great work on the package, it's really useful.
I'm putting together a gif to use in a presentation but can't work out if I can alter the resolution of the output from gg_animate(). Ideally, I'd like to be able to have a full screen .gif that isn't grainy.
Is there any way to alter the resolution of outputs in gganimate?
The text was updated successfully, but these errors were encountered: