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@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.

Reply via email to