[R] Increasing the font size on axes in trellis

Dimitri Liakhovitski dimitri.liakhovitski at gmail.com
Sat May 8 21:43:13 CEST 2010


the code below gives me the picture I need - but there is on small
thing I can't figure out.
The plot has very small tick mark labels for both axes. I don't mean
the axis labels - they are both good, but what is shown near the tick
Please help me figure out what parameter I should add to make those
larger. I tried sticking cex.lab=1.3 in different places but it didn't
Thank you very much!

par.settings=trellis.par.set(superpose.line =
[3],SecondaryColors[3]), lwd = 2,lty=c(1,3,2,4)),
       superpose.symbol = list(cex = 1.5, pch = c(20,1,3,4),
           reference.line = list(col = "gray", lty ="dotted"))

       groups=rep(c("x", "y","z","xx"), each=nrow(out)),
             auto.key = list(space = "top", points = TRUE, lines =
TRUE, cex=1.3),
             ylab=list("Mean Deviation from GDW Importances",cex=1.5,font=2),

       panel = function(y,x,...) {
               panel.grid(h = -1, v = -1)
               panel.xyplot(x, y, ...)

         ltext(x, y, labels=round(y,2),cex=1.5,col="black",font=1,pos=4)


Dimitri Liakhovitski
Ninah Consulting

Dimitri Liakhovitski
Ninah Consulting

More information about the R-help mailing list