[R] combine mathematical expressions with plain text

Scionforbai scionforbai at gmail.com
Thu Sep 20 13:22:09 CEST 2007


plot(0,0,"n")
mtext( expression( bar(x) == 3.07) )

but you can also simply 'paste' things:

text(0,0,labels=expression(paste(bar(omega), " = 1")),srt=90)



More information about the R-help mailing list