[R] How to change font family in a levelplot using Lattice
Bingzhang Chen
elanchen2001 at yahoo.com.cn
Thu Oct 20 11:15:22 CEST 2011
Dear R users:
I want to assign a global font family to a levelplot such as par(family="serif") in traditional plotting. However, I can only change part of the text using
panel.text(x,y,"A",fontfamily="serif")
or scales=list(fontfamily="serif") to change the axis number font family.
How can I change the font family of xlab and ylab and the numbers shown on the legend of the levelplot?
Thanks in advance,
Bingzhang
More information about the R-help
mailing list