Tomas
Tomas

Reputation: 59525

How to change font family with spplot?

Please can you advise how to change font family with spplot? I've been looking in the ?spplot and have tried many things like:

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")
)

But with no effect. Thank you!

Upvotes: 1

Views: 1294

Answers (1)

Tomas
Tomas

Reputation: 59525

Aha, found by just a random experiment!

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

Upvotes: 2

Related Questions