↧
Answer by Pop for Rotating x-axis labels and changing theme in ggplot2
The theme theme_minimal changes a lot of things including the changes you made with theme. So that you should do it in the other way:ToothGrowth$dose <-...
View ArticleAnswer by Julius Vainora for Rotating x-axis labels and changing theme in...
That's because of the order: theme_minimal being after theme overrides the latter. Usingggplot(ToothGrowth, aes(x = dose, y = len)) + geom_boxplot() + theme_minimal() + theme(axis.text.x =...
View ArticleRotating x-axis labels and changing theme in ggplot2
Is there a way to rotate the x-axis labels in a ggplot plot AND change the theme at the same time?If I do this, I can rotate the x-axis labels:ToothGrowth$dose <-...
View Article