xlab=expression(bar(temp))
or
xlab=expression(bar(" temp"))
The overbar looks like it begins above "e" in the first case.
See demo(plotmath).
Jason Horn wrote:
>
> Can anyone tell me how to produce a macron (or overbar or overline)
> symbol on an R plot. I have an axis that is labeled "temp", but I
> need the overbar symbol over the entire word.
>
--
View this message in context:
http://www.nabble.com/How-to-produce-a-macron-symbol-%28overline---overbar%29-on-a-plot-tf4468656.html#a12742054
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] 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.