Skip to content
Prev 218849 / 398498 Next

Multiple cex sizes in main for xyplot?

I don't think there's a much better way to do it... but this seems to work:

xyplot((0:1)~(0:1),
       main = textGrob(lab=c("Some Text","\nSome More Text"),x=c(0.5,0.5),
                       gp=gpar(cex=c(1.2,1.0), lineheight=2))
       )

-Felix
On 29 April 2010 08:06, Bert Gunter <gunter.berton at gene.com> wrote:
-- 
Felix Andrews / ???
Postdoctoral Fellow
Integrated Catchment Assessment and Management (iCAM) Centre
Fenner School of Environment and Society [Bldg 48a]
The Australian National University
Canberra ACT 0200 Australia
M: +61 410 400 963
T: + 61 2 6125 4670
E: felix.andrews at anu.edu.au
CRICOS Provider No. 00120C