mtext does not appear to be rendering a 'bold' expression. Is there another parameter to set? Thx. example (does not create bold (font=2) on plot) mtext( font=2, expression(paste(y, " = ", x + z), side=3 )
Al Piszcz wrote:> mtext does not appear to be rendering a 'bold' expression. > Is there another parameter to set? Thx. > > example (does not create bold (font=2) on plot) > mtext( font=2, expression(paste(y, " = ", x + z), side=3 )Mathematical expressions are handled differently from normal text. You might want to use mtext(expression(bold(y == x + z)), side = 3) See ?plotmath for details. Uwe Ligges