我使用了 likert 和 ggplot2 包来创建这个图。现在,我想将底部的图例向左移动一点,因为最后一部分(强烈同意)未显示在图表中。不幸的是,到目前为止我找不到解决方案。如何将图例向左移动/移动?
编码:
plot(Likert_Uni_Study_Orientation_OF_V, low.color = "#007CC2", high.color = "#F7971C", neutral.color = "grey", neutral.color.ramp = "white", text.size=9) +
theme(legend.text=element_text(size=24, margin = margin(r = 30, unit = "pt"))) +
theme(legend.direction = "horizontal", legend.position = "bottom") +
theme(legend.title = element_blank()) +
ggtitle("Uni Study Orientation – Only Fusha Learners") +
theme(plot.title = element_text(hjust = 0.5, size =30)) +
theme(text = element_text(size = rel(6), color = "black"), axis.text.y = element_text(color = "black")) +
theme(axis.text.x = element_text(colour="black", size="30")) +
theme(axis.title.x = element_text(vjust=2, size=20, color = "black"))
谢谢您的帮助!