0

I need to write some text at my shared labels.

I have 4 subplots in my plot and they share the same label axis, so I would like to put some annotation at the Y label (and X label too, but the x label I manage excluding the x labels from all plots except from the last one).

plot

I've tried the annotate function but nothing seems to change.

a <- ggarrange(pet, a63, a64, a65,
      labels = c(" Polietileno Tereftalato (PET)", "Amostra 63", 
                 "Amostra 64", "Amostra 65"),
      ncol = 1, nrow = 4, label.x=0.18, label.y= 1, align ="v", 
      vjust=2, hjust=0.2, 
      legend = "bottom") 
a + annotate("text", x = 0, y = 25, label ="Absorbância")
a
kjetil b halvorsen
  • 1,206
  • 2
  • 18
  • 28
oceanpath
  • 1
  • 3

0 Answers0