我正在使用 aes(fill=dummy variable) 创建一个条形图,所以我有 4 个条形图:我基本上显示的是 2x2 模型的比例 - 如何更改不同组名称的字体大小?
ggplot(summary2, aes(story, prop_agreement)) + #story is either "Freedom" or "Cyber"
geom_col(aes(fill = Mindset), position = "dodge", alpha = .7) + #mindset is either "Doubt" or "Control"
scale_fill_manual(values = wes_palette(name="Moonrise2", n = 2)) +
labs(title = "Proportion of agreement in Control vs Doubt, by Story",
x = "Story",
y = "Proportion of agreement") +
theme_minimal()
问题:如何更改网络/自由、怀疑/控制在情节中出现的字体大小?