[R] Spacing in the labels using xyplot()
Matthew Clarkson
matthew.clarkson at marketshare.com.au
Wed Oct 10 02:31:35 CEST 2001
We have a variable that we use to label bars in barplot() and to condition
on in xyplot(). Since the labels can be quite long, we use strwrap()
on-the-fly to split the strings into several "lines" separated by "\n". With
barplot, this works nicely using text(), but with xyplot() it doesn't. In
the latter, the labels appear to be "double-spaced" compared to the
single-spacing in barplot(). Is it possible to close up the spacing in the
labels that xyplot() use? I can't see anything obvious in strip.default for
controlling this, so would greatly appreciate your advice. Thank you!
Matthew Clarkson
Consultant
e-mail: matthew.clarkson at marketshare.com.au
Ph: +61-7-3371 9655 Fax:+61-7-3870 3537
www.marketshare.com.au
This email is intended only for the use of the individual or entity named
above and may contain information that is confidential and privileged. If
you are not the intended recipient, you are hereby notified that any
dissemination, distribution or copying of this email is strictly prohibited.
If you have received this email in error, please notify us immediately by
return email or telephone +61 07 3371 9655 or +61 02 9235 0005 and destroy
the original message. Thank you.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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