[R] italic(mu)

David Winsemius dwinsemius at comcast.net
Thu Aug 22 08:00:31 CEST 2013


On Aug 20, 2013, at 3:04 PM, David Winsemius wrote:

> 
> 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.

Also this from the Archives:

https://stat.ethz.ch/pipermail/r-help/2011-June/281506.html

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list