[R] math mode in box plots

Michael Lapsley mlapsley at ndirect.co.uk
Tue Apr 20 01:33:31 CEST 1999

Here is another of those 'is it a bug or am I using it wrong'
questions:  I'd be very grateful if someone could help.

I am doing a lot of graphs for a thesis at the minute, many of which need
(ideally) greek letters in xlab and ylab.

This works:
>plot(c(1,2,3,4),c(1,2,3,4),xlab=expression( alpha * "-1-m"))

This does not:
> boxplot(c(1,2,3,4),c(1,2,3,4),xlab=expression( alpha * "-1-m"))
Error: Object "alpha" not found

Tried it on both 0.63 and 0.64 with same result.
Any help much appreciated:  the scatterplots look so much better with the
proper greek.


Michael Lapsley
E-Mail: Michael Lapsley <mlapsley at ndirect.co.uk>
Date: 20-Apr-99
Time: 00:23:47

This message was sent by XFMail
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