ggplot(DATA, aes(x=F, y=P))+geom_point(colour = "royalblue4", size = 1.1, shape =3)+
scale_y_continuous(breaks = c(pretty(y), 0.05,0.1,0.01), labels = c(pretty(y), '0.05','0.1','0.01')) +
geom_hline(colour = "red", yintercept = c(0.1,0.05,0.01), linetype="dashed",size = 0.6)
如果你指的是那个0和1交叉了,你可以设置标签旋转。