mana19 试试这个,我只能改标签的字大小外加一部分加粗。比如10^{9}这部分就加粗不了。更多的数学表达式作图内容在R里面运行?plotmath即可获得。
library(ggplot2)
ggplot(mpg,aes(displ,hwy))+
geom_point()+
ylab(expression(bold(paste("WBC(×",10^9,"/L)"))))+
theme(axis.title.y = element_text(size=20),
axis.text.y = element_text(size=10,face="bold"))