[R] italic(mu)

Beaulieu, Jake Beaulieu.Jake at epa.gov
Thu Aug 22 15:08:37 CEST 2013


This works:

expression(paste('Greek', italic('\uo3bc'))

thanks!
Jake
-----Original Message-----
From: David Winsemius [mailto:dwinsemius at comcast.net] 
Sent: Thursday, August 22, 2013 2:01 AM
To: David Winsemius
Cc: Beaulieu, Jake; r-help at r-project.org
Subject: Re: [R] italic(mu)


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