Skip to content
Prev 128422 / 398498 Next

Lattice: par.ylab.text alpha ?

Thanks Deepayan.  I now see the meaning of "layout.widths". 
I appreciate the reminder on alternating - it's been a while since I've
used it.   However I don't think I'm out of the woods yet.  This doesn't
seem to give me the flexibility of showing labels for just 1 axis, say
the left y-axis only?
Michael

-----Original Message-----
From: Deepayan Sarkar [mailto:deepayan.sarkar at gmail.com] 
Sent: October 31, 2007 10:58 PM
To: Folkes, Michael
Cc: r-help at r-project.org
Subject: Re: [R] Lattice: par.ylab.text alpha ?
On 11/1/07, Folkes, Michael <FolkesM at pac.dfo-mpo.gc.ca> wrote:
There's nothing specially meant for ylab, but you can supply a factor
for all layout widths and heights; e.g., compare

xyplot(1 ~ 1, ylab = "foo", par.settings = list(layout.widths =
list(ylab = 2))) xyplot(1 ~ 1, ylab = "foo", par.settings =
list(layout.widths = list(ylab = 0)))
Not sure exactly what you mean, but try variants of

xyplot(1 ~ 1, scales = list(alternating = 0/1/2/3, tck = 0/1))

-Deepayan