John Helly wrote:
> 
> I'm trying to get 'mu' to show up as a Greek symbol but, despite trying
> every example I could find, can't get it to work. 
> 
> 
Try 

library(ggplot2)
qplot(mpg, wt, data=mtcars, xlab = "",  ylab = bquote(mu~(E ~m^-2~s^-1)),
geom="line") 

(thanks to Baptiste and David in 
<http://r.789695.n4.nabble.com/How-to-plot-an-expression-label-with-variable-text-td2341465.html#a2341504>
)

And please always use reproducible code for posting as above; your code had
the data set missing, which was totally irrelevant anyway, and ggplot2 was
missing.

Dieter




-- 
View this message in context: 
http://r.789695.n4.nabble.com/Greek-symbols-again-but-more-complicated-tp2527408p2527418.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
[email protected] 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