Re: [R] combine mathematical expressions with plain text

2007-09-20 Thread Fernando Mayer
Hi, have you tried: mtext(expression(bar(x) == 3.07), ...) or mtext(bquote(bar(x) == 3.07), ...) ? Fernando Mayer. squall44 escreveu: > Hello, > > I would like to create a mtext. The argument 'text' should combine the > mathematical expressions 'bar' with the plain text ' = 3.07'. Is that >

Re: [R] combine mathematical expressions with plain text

2007-09-20 Thread Scionforbai
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) __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read th

[R] combine mathematical expressions with plain text

2007-09-20 Thread squall44
Hello, I would like to create a mtext. The argument 'text' should combine the mathematical expressions 'bar' with the plain text ' = 3.07'. Is that possible? mtext(text=expression(bar(x)) ...) ' = 3.07' Thanks for any ideas Tobias -- View this message in context: http://www.nabble.com/combine