I have four plots that I would like to label with the builtin cowplot labeler (in ggplot in r). My labels have very different lengths. I notice that when I plot these labels the position of the labels depend on the label length with longer labels further to the write (including the beginning of the label) than for shorter labels.
Example
egPlot <- ggplot(data = iris, aes(x = Petal.Length, y = Petal.Width)) + geom_point()
PlotList <- list(egPlot, egPlot, egPlot, egPlot)
Labels = c("Short", "Medium name", "Very long name goes here", "A")
cowplot::plot_grid(plotlist = PlotList, ncol = 2, labels = Labels)
What is going on here, and is there anything I can do about it? Using label_x
to specify the x position seems to move all of the labels, while maintaining the differences in position between the.