【发布时间】:2018-02-21 09:23:13
【问题描述】:
我正在尝试复制以下情节: Plot to replicate
我已经做到了:My plot
因此,唯一剩下要做的就是将图例中的符号更改为大圆形,而不是一条线穿过它们的小圆圈。如何在不使情节中的圆圈变大的情况下实现这一目标?
到目前为止,我使用以下代码创建了我的情节:
g <- ggplot(d, aes(x = Num.3.Syllable.Words / Num.Words,
y = Num.Words / Num.Sentences, colour = Educational.Level))
g +
geom_point() + geom_smooth(method = "lm", se = FALSE) +
facet_grid(Educational.Level ~ .) +
scale_x_continuous(breaks = c(0.05, 0.15, 0.25), labels = scales::percent) +
scale_y_continuous(breaks = c(10, 20)) +
labs(x = "Share of words with 3+ syllables",
y = "Words per sentence",
colour = "Educational level",
title = "Ad Copy Complexity in Magazines",
subtitle = "Arranged by Typical Readership")
我要添加什么?我是否使用指南功能?提前致谢。
【问题讨论】: