You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use gganimate on a set of three plots that have been combined using patchwork. Basically, these are simple scatter+line plots, that have three different y values (y1, y2, y3) for the same x (distance along a road). I am trying to combine them using patchwork p1/p2/p3 so that they are in three rows. My idea is to animate the lines so that one would get a feeling that we are driving down the road (remember x is distance along a road), and here are the variations in y1, y2, and y3 we see. I can make it work if i plot y1, y2 and y3 on the same plot. But that is not desirable as the scales have to be different. I cannot make the gganimate to work on a p4<-p1/p2/p3. Can someone please help? I am quite new to R, so may be asking some "simplistic" questions.
Thank you very much
deb
The text was updated successfully, but these errors were encountered:
@thomasp85 Is there anything to be expected along these lines in a foreseeable future?
I also try to combine multiple gganimate panels into one figure.
There is this Wiki entry in the gganimate repo (https://github.com/thomasp85/gganimate/wiki/Animation-Composition) that suggests a solution using the magick package. However, I'd consider this rather a "workaround". Would feel more native to use patchwork for this purpose.
not in the foreseeable future - I'm working on a gganimate release but I'm afraid this won't make the cut as there are too much internal stuff already to be done
I am trying to use gganimate on a set of three plots that have been combined using patchwork. Basically, these are simple scatter+line plots, that have three different y values (y1, y2, y3) for the same x (distance along a road). I am trying to combine them using patchwork p1/p2/p3 so that they are in three rows. My idea is to animate the lines so that one would get a feeling that we are driving down the road (remember x is distance along a road), and here are the variations in y1, y2, and y3 we see. I can make it work if i plot y1, y2 and y3 on the same plot. But that is not desirable as the scales have to be different. I cannot make the gganimate to work on a p4<-p1/p2/p3. Can someone please help? I am quite new to R, so may be asking some "simplistic" questions.
Thank you very much
deb
The text was updated successfully, but these errors were encountered: