This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm using the following code to create a bar graph of 5 emotions (also below). I need to shrink the graph so that it can fit into a survey I am making for another study, but when I reduce the width of the graph, the x-axis labels start to overlap with each other. How can I rotate them to that I can squeeze the graph even more?
ggplot(TidyPolicyEmotionsTest, aes(Emotions, Ratings))
geom_hline(yintercept = 1:5) #adds lines at each reference point
geom_col(fill="steelblue")
labs(x="Emotions", y="Strength of Emotion")
ylim(0,5)
theme_classic()
After rotating the labels with theme(axis.text.x = element_text(angle = 45))
this happens...
How do I lower the labels?
Subreddit
Post Details
- Posted
- 5 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Rlanguage/c...