-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Strip text on the same column as the axis text #5344
Comments
I do sympathise with the idea, but I think this might be better suited for an extension package that implements custom facets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is well known that long strip text can be a problem. Displaying them vertically hurts readability (if at all feasible). Displaying them horizontally next to the axis text may make the figure too wide: horizontal space is usually much restricted, especially in publications.
One solution to this conundrum is to display the strip text on top of the axis text, rather than on the side of it. As in the following figure for example (source).
What I mean here with "strip text" is "Yearly excacerbations", "Onset time", ... and by "axis text" is "One", "Two", "Three", "5 min", ...
Here is my closest attempt so far (thanks) (I do not care at this stage about the colors or other aesthetic details, nor about the data, just about reproducing the overall layout).
I would like to display "some long strip text" and "another long strip text" closer to the Y axis, on top of the axis text instead of to the left of it.
Considering the numerous discussions about this kind of situations (such as here), I have come to believe that it is currently not possible with ggplot2. Hence this feature request.
The text was updated successfully, but these errors were encountered: