-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support limits for Coord in multiple facet plot #168
Comments
Thanks for the suggestion! |
Oh it turns out I already gave an example of how to solve the issue you linked to with ggh4x's facet scales: https://stackoverflow.com/a/63569242/11374827. |
Thank you for the prompt response. Yes, I have found the answer you posted in the thread. The main reason I wish to utilize I am currently developing the |
When aligning the axes of multiple plots, it is crucial to establish the limits for each plot to guarantee accurate alignment of the axes (ensuring that each axis value corresponds). In this context, employing |
Thanks for the clarification! The reason I'm not very keen on adding a coord-limits-per-panel mechanism is because I there already exists the more flexible scale-per-panel mechanism. Yes in this very specific case, coord limits are more convenient, but I don't think people will run into this often enough to justify me taking on maintainership of this mechanism. If you need this mechanism in the ggalign package, isn't it better to implement it in ggalign? That way, you're also protected from me modifying this function to suit my own needs. |
Thank you! I'll include this in |
I came across this discussion: https://stackoverflow.com/questions/63550588/ggplot2coord-cartesian-on-facets.
Currently, support for different limits in multiple facet plots relies on the Scale, which behaves differently compared to Coord limits. Coord limits, however, are particularly useful for aligning multiple plots.
Would it be possible to add the following function into the
ggh4x
package? If it is, I’d be happy to make a commit.The text was updated successfully, but these errors were encountered: