[R] bold face labelling / expression
Uwe Ligges
ligges at statistik.uni-dortmund.de
Mon Jan 17 14:06:35 CET 2005
Vera Hofer wrote:
> Dear colleagues,
>
> I have a great problem in using "expression" for axes labels. I want the
> labels in bold face (i.e.: par(font.lab=2)). When typing
>
> boxplot(y ~ groups, names = "" , xlab = "", ylab = "", axes = F)
> axis(side=1, at=c(1,2), xlab=c(expression(H[2]*O),"others")),
1. If you don't mean "labels" instead of "xlab" in the axis() call, use
xlab in the boxplot() call or in a call to title() (but then, you cannot
use c(expression(), ...).
2. See ?plotmath and use, e.g., bold(H[2]*O) ...
Uwe Ligges
> I do not get a bold face labelling. Does anyone know, how I could proceed?
> Thank you very much.
>
> Best regards
> V.H.
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list