data=mtcarsggplot(data,aes(mpg,disp))+geom_point()+theme_bw()+facet_grid(cyl~gear)+# 按照 cyl和 gear分面theme(strip.text.x=element_text(size=30,colour="#FC0043"))+# 设置分面的字字体大小、颜色、背景、边框,theme(strip.text.y=element_text(size=15,colour="#60FC00"))+theme(strip....
4.使用strip.background可以对分面的背景进行修改,使用strip.text可以对分面的字体的颜色,大小进行修改 windowsFonts(A=windowsFont('Times New Roman'))ggplot(iris,aes(Sepal.Length,Sepal.Width))+ geom_point(aes(size=Petal.Length,color=Petal.Width))+ facet_grid(.~Species)+ scale_color_gradient(low ...