[R] How to produce a macron symbol (overline / overbar) on a plot

Marc Schwartz marc_schwartz at comcast.net
Mon Sep 17 20:12:15 CEST 2007


On Mon, 2007-09-17 at 14:00 -0400, 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.

See ?plotmath and the examples therein.

Example:

  plot(1, xlab = expression(bar(temp)))

HTH,

Marc Schwartz



More information about the R-help mailing list