[R] italic(mu)

David Winsemius dwinsemius at comcast.net
Wed Aug 21 00:04:47 CEST 2013


On Aug 20, 2013, at 12:06 PM, Beaulieu, Jake wrote:

> Hi,
> 
> I would like to include the greek letter mu, in italics, in an axis title.  The following gets close, but the mu isn't italicized.
> 
> x <- 1:10
> y <- 1:10
> plot(y ~x, ylab = expression(paste('Greek ', italic(mu))))
> 

The Symbol font does not accept the italic() function. I'm pretty sure this is mentioned in the help page:

?plotmath

You may need to use mtext with a font that does have an italic mu.

-- 
David Winsemius
Alameda, CA, USA



More information about the R-help mailing list