当我使用qplot作为图表并尝试从" Temp"更改图例名称时到"平均温度"它......没有改变。你知道我的代码有什么问题吗?
qplot(Year,
Temp,
data = LithuaniaTemp,
main = "Lithuania Average Temperature 1900-2013",
geom = c("point","smooth")) +
aes(colour = Temp) +
scale_color_gradient(low="blue", high="red") +
theme_fivethirtyeight() +
scale_fill_continuous(guide = guide_legend(title = "Average Temperature"))