Skip to content
Back to formatted view

Raw Message

Message-ID: <1319102122.73460.YahooMailNeo@web15101.mail.cnb.yahoo.com>
Date: 2011-10-20T09:15:22Z
From: Bingzhang Chen
Subject: How to change font family in a levelplot using Lattice

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