allain 发表于 2020-9-7 10:28
scale_x_continous(breaks = )
请问,为何
ggplot(school,aes(year,number))+geom_line(size=2,colour="darkred")+geom_point(size=3)+xlab("年份")+ylab("数量(所)")+theme_classic()+
theme(plot.title = element_text(hjust = 0.5,size=17))+geom_text_repel(aes(year, number, label=number))+
theme(axis.title.y=element_text(angle=90,size=18))+theme(axis.title.x=element_text(size=18))+
scale_x_continous(breaks =10),他会说未找到
scale_x_continous(breaks =10)这个函数,这个函数是放在哪个哪个上级函数里的吗