For the record: lattice behaves slightly differently, it requires an "as.expression" with bquote.
Dieter plotExp <- function(what) { plot.new() lab = bquote(Estimated~t[50]~ from ~.(what) ) ; text(0.5,0.2,lab) } plotExp("tgv") library(lattice) plotLattice <- function(what) { lab = bquote(Estimated~t[50]~ from ~.(what) ) ; # Note that ylab is wrong, xlab is correct xyplot(1~1,xlab=as.expression(lab), ylab=lab) } plotLattice("tgv") -- View this message in context: http://r.789695.n4.nabble.com/How-to-plot-an-expression-label-with-variable-text-tp2341465p2367176.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.