如何用spplot更改字体系列?

时间:2015-03-27 10:58:41

标签: r

请问您如何使用spplot更改字体系列?我一直在寻找?spplot并尝试过很多东西:

trellis.par.set(fontfamily = "mono", family = "mono")
spplot(xxKv[,"value"], 
    main=list(label="Testfont Jilm JILM",cex=3),
    par.settings = list(fontfamily = "mono"),
    family = "mono",
    fontfamily = "mono",
    labels = list(fontfamily = "mono")
)

但没有效果。 谢谢!

1 个答案:

答案 0 :(得分:2)

啊哈,只是随机实验发现的!

spplot(xxKv[,"value"], 
    main=list(label="Testfont Jilm JILM",cex=3,fontfamily="mono")
)