Description Usage Examples
cn font for ggplot2
1
theme_cn(font = "STKaiti")
1 2 3 4 5
library(ggformula) gf_point(mpg ~ hp, color = ~ cyl, size = ~wt, data = mtcars) -> p p p + xlab("X轴") + ylab("Y轴") + ggtitle("标题") # + theme_cn() p + xlab("X轴") + ylab("Y轴") + ggtitle("标题") + theme_cn()
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.