theme_bw( base_size = 10, base_family = "Arial",) 二、参数 如果要对个别地方进行详细调整,就需要用到theme()函数。首先,theme()函数中主要参数有以下这些: image.png 其次,以plot.title为例 plot.title = element_text(family="Arial",face="bold" ,color="Black",size=10,hjust=0.5,vjust=0.5, ...
## theme(line = element_line(colour = "black", size = 0.5, linetype = 1, ## lineend = "butt"), rect = element_rect(fill = "white", ## colour = "black", size = 0.5, linetype = 1), text = element_text(family = base_family, ## face = "plain", colour = "black", siz...
是Unicode字符,对应关系可以在链接 https://www.rapidtables.com/code/text/unicode-characters.html...查看设置横坐标的标题 library(ggstar) ggplot(data=df,aes(x=x,y=y))+ geom_text(label="\u03c0",size=30,...fontface="italic", hjust=4)+ geom_star(starshape=16,size=40,fill="red")+ ...
A theme with white background and black gridlines (ggtern version)basesize