[R] Lattice: par.ylab.text alpha ?
Deepayan Sarkar
deepayan.sarkar at gmail.com
Thu Nov 1 01:53:13 CET 2007
On 10/31/07, Folkes, Michael <FolkesM at pac.dfo-mpo.gc.ca> wrote:
> Hi all,
> I've got R for windows 2.3.1
> I'm trying to modify my lattice histograms.
> The following does reset the y-label to blue, but I cannot turn off the label (alpha=0), nor shift label position (I'm assuming that is what lineheight is for). Is 'lineheight' the equivalent of 'line' in mtext?
> Am I erring somehow?
AFAIK, lineheight only applies to multiline labels (it gets forwarded
to grid). It does have an effect for such labels.
The alpha thing is a bug, specifically, a bug in
lattice:::getLabelList, which forgets to look at alpha. For your use,
a temporary fix is to use col="transparent".
-Deepayan
More information about the R-help
mailing list