This works:

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

thanks!
Jake
-----Original Message-----
From: David Winsemius [mailto:dwinsem...@comcast.net] 
Sent: Thursday, August 22, 2013 2:01 AM
To: David Winsemius
Cc: Beaulieu, Jake; r-help@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to