[R] [HH] changing font size in interaction2wt

From: Patrick Drechsler <patrick_at_pdrechsler.de>
Date: Sun, 16 Dec 2007 01:04:43 +0100


Hi,

I would like to change font sizes (more generally the cex) in plots produced by the function "interaction2wt" of the "HH" package.

Here is an example (from the interaction2wt example) of what I have tried:

--8<---------------cut here---------------start------------->8--- rm(list = ls(all = TRUE))
rm(list = c(ls()))

library("HH")

## From the example:

vulcan <- read.table(hh("datasets/vulcan.dat"), header = TRUE)

## I would like to change the size (cex) of the axes description,
## labels and the overall line widths.

trellis.par.set(par.xlab.text = list(cex = 0.3),

                par.ylab.text = list(cex = 0.3),
                axis.text = list(cex = 0.3),
                par.main.text = list(cex = 0.3),
                par.sub.text = list(cex = 0.3),
                add.text = list(cex = 0.3))

foo <- interaction2wt(wear ~ filler + pretreat + raw, data = vulcan) plot(foo)
--8<---------------cut here---------------end--------------->8---

Thankful for any pointers,

Patrick



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 16 Dec 2007 - 00:07:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 16 Dec 2007 - 03:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.