Multi-row x-axis labels in line chart

Hi!. I have a question. There is a way to make a plot like this in ggplot?
I just found to do it with annotate, but there is another way to do it?

annotate would be a great way to do it I think. Doing this kind of labelling on x axis is not a feature included by default in ggplot2 but that you could manage to do by composing plot with tools like cowplot

1 Like

Looks great, thank you. I didn't know about that package.
Did you know if I can combine it with facet_grid?

Yes I think so. You'll just have to arrange the plots correctly.
know that it sometimes can be useful to not facet automaticcaly but arrnage as you want using a shared legend

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.