Skip to content
Prev 255763 / 398506 Next

lattice: how to "center" a subtitle?

Dear David,

I intended to use another x-label. But your suggestion brings me to the idea of just using a two-line xlab, so s.th. like
print(xyplot(0 ~ 0, xlab.top = "This title is now 'centered' for the human's eye", xlab = "but subtitles are _now_ centered\nbla", scales = list(alternating = c(1,1), tck = c(1,0))))

Thanks!

Cheers,

Marius
On 2011-04-04, at 16:47 , David Winsemius wrote: