[R] Which cex to change in a trellis plot

From: Andy Bunn <abunn_at_whrc.org>
Date: Sat 15 Oct 2005 - 01:52:39 EST


Given:

foo <- data.frame(bar = rnorm(100),

                  fac1 = factor(rep(1:2, 50)),
                  fac2 =

factor(c(rep(c("a","b","SomethingReallyReallyReallyLong"), 33),"a"))) bwplot(bar~fac1|fac2, data = foo)

How do I change the size of the text for fac2? I need to make the "SomethingReallyReallyReallyLong" label fit in the postscript device. Changing the cex from 1 to 0.8 (to match $axis.text$cex) will do it. Which trellis setting is it?

Thanks, Andy



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Oct 15 02:07:08 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:45 EST