Skip to content
Prev 255765 / 398506 Next

lattice: how to "center" a subtitle?

On Apr 4, 2011, at 12:45 PM, Marius Hofert wrote:

            
And if you wanted different fontface (underline, italic or bold) then  
you could use plotmath expressions:

xyplot(0 ~ 0, xlab.top = "This title is now 'centered' for the human's  
eye", xlab =  
expression( atop(but~subtitles2~are~underline(now)~centered,  
bold(bla) )), scales = list(alternating = c(1,1), tck = c(1,0)))