Quantcast
Channel: Rotating x-axis labels and changing theme in ggplot2 - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article


Image may be NSFW.
Clik here to view.

Answer 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 Article


Rotating 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
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>