Skip to content

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

3 messages · Jason Horn, Marc Schwartz, Vladimir Eremeev

#
On Mon, 2007-09-17 at 14:00 -0400, Jason Horn wrote:
See ?plotmath and the examples therein.

Example:

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

HTH,

Marc Schwartz
#
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: