Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add this snippet to rotate x-axis labels by 45º in ggplot2
theme(axis.text.x = element_text(angle = 45, hjust = 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment