我的剧情分为三层,我不会更改图例吗?

因此,我正在尝试更改右侧的图例以与特定日期相对应。我想将图例标题更改为“日期”,将红色更改为“ 0724”,将绿色更改为“ 0802”,将蓝色更改为“ 0815”。我试过使用scale_fill_discrete,但它似乎不起作用。我不确定将三个数据框导入此绘图是否与此有关。

这是我目前正在使用的代码

ggplot(data = dataS24, aes(x = NominalKM, y = MassDefectrounded)) +
  geom_point(shape = 16, alpha = 0.7, aes(color = "#00A5FF")) +
  geom_point(data = dataS02, shape = 16, alpha = 0.7, aes(color = "#00BC59"))+
  geom_point(data = dataS15, shape = 16, alpha = 0.7, aes(color = "#FC717F"))+
guides(shape = guide_legend(order = 1))+
theme(panel.grid.major = element_blank(), 
                  panel.grid.minor = element_blank(),
                  panel.background = element_blank(),
                  axis.line = element_line(colour = "black"),
                  axis.text = element_text(size = 11, face = "bold"),
                  axis.title = element_text(size=13, face="bold"),
                  aspect.ratio = 1,
      )

我不确定在哪里集成代码以更改图例。 提前致谢!

Outcome Plot