# ggplot to recognise Chinese characters
library(ggplot2)
old <-theme_light() + theme(text = element_text(family = "STXihei"))
theme_set(old)
# 字体名称备选
# Noto Sans CJK SC
# SimHei
# STKaiti
# ggplot to recognise Chinese characters
library(ggplot2)
old <-theme_light() + theme(text = element_text(family = "STXihei"))
theme_set(old)
# 字体名称备选
# Noto Sans CJK SC
# SimHei
# STKaiti