Alignment of y axis labels in faced_grid and ggplot?
问题 By using ggplot and faced_grid functions I'm trying to make a heatmap. I have a categorical y axis, and I want y axis labels to be left aligned. When I use theme(axis.text.y.left = element_text(hjust = 0)) , each panels' labels are aligned independently. Here is the code: #data set.seed(1) gruplar <- NA for(i in 1:20) gruplar[i] <- paste(LETTERS[sample(c(1:20),sample(c(1:20),1),replace = T) ], sep="",collapse = "") gruplar <- cbind(gruplar,anagruplar=rep(1:4,each=5)) tarih <- data.frame(yil=