I changed the font of my lattice plot to LM Modern 10, which I include in a personalized theme. Is there also an option to include the font style of the legend in the theme? If not, is it possible to change the font style in the key argument?
Thanks, Mara
code example:
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)