[R] braking a label in two lines when using expression()

pannigh pannigh at gwdg.de
Thu May 3 18:08:41 CEST 2012


Your code did not run on my computer, however the "atop" function should do
what you are looking for I guess. This is more or less your axis, only
changed a bit in your formula, think it looks better this way:

e.g.

par(mar=c(5,7,.5,.5), las=1, adj=.5, cex.lab=1.5)
plot(1, type="n"
    , xlab="Week"
    , ylab=expression(atop("Mean Respisration Rate",
umol%.%L^-1%.%g~(AFDM)^-1) ))

--
View this message in context: http://r.789695.n4.nabble.com/braking-a-label-in-two-lines-when-using-expression-tp4605716p4606414.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list