Skip to content
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

pathwork and gganimate? #171

Open
debakantamishra opened this issue Apr 30, 2020 · 3 comments
Open

pathwork and gganimate? #171

debakantamishra opened this issue Apr 30, 2020 · 3 comments
Labels
feature a feature request or enhancement

Comments

@debakantamishra
Copy link

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

@choc2000
Copy link

choc2000 commented Aug 5, 2021

@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.

@thomasp85
Copy link
Owner

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

@choc2000
Copy link

choc2000 commented Aug 5, 2021

ok, thanks for the update

@thomasp85 thomasp85 added the feature a feature request or enhancement label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants