[R] Changing strip widths in lattice plots
Andrew C. Ward
s195404 at student.uq.edu.au
Fri Nov 23 02:42:37 CET 2001
Hello R users,
I'm using xyplot (lattice) to plot some data. Unfortunately, the text that goes
into each strip is often too big to fit. For instance, one of the factors may
be labelled "Satisfaction with waiting time" which is too wide to fit. If I use
split.string() to wrap it onto two lines it is then too high to fit in the
strip. I'd prefer to apply split.string on the fly than manually shorten each
offending label.
I thought I could try
1. making the strip wider (in the y direction) or
2. removing it altogether and adding the strip text with ltext()
strip.default seemed a good place to look. I commented out any rect()
statements, but the strips were still drawn. Could someone please tell me where
to look for adjusting the strip width (or removing it entirely).
Thank you very much for your help!
Regards,
Andrew C. Ward
CAPE Centre
Department of Chemical Engineering
The University of Queensland
Brisbane Qld 4072 Australia
andreww at cheque.uq.edu.au
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list