我将我的格子图的字体更改为LM Modern 10,该字体包含在个性化主题中。是否还有选项可以在主题中包括图例的字体样式?如果没有,是否可以在key参数中更改字体样式?
谢谢, Mara
代码示例:
mytheme<-list()
mytheme$par.xlab.text$fontfamily="LM Roman 10"
my.key <- list(
space="bottom",
columns=3,
lines=list(pch=c(19,1,15), size = 7,type=c("p")),
text = list(c("text1", "text2", "text3")))
xyplot(data=dataframe,
d1~d2,
par.settings=mytheme,
key=my.key)
ggplot
,以便在未来获得更好的支持。https://dev59.com/V1sW5IYBdhLWcg3w2aOK - Tungggplot2
的功能。 - Tung