On Fri, 12 Feb 2010, Peng Cai wrote:
Hi All,
I'm trying to use expression() for y-label in plot(). I'm not able to write
Average(space)PM(subscript)10. I'm trying:
ylab=expression(Average PM[10])
and its not working, because of a space between "Average" and "PM". Thanks,
quote("Average PM"[10]) or quote(Average~PM[10]) seem to work. There is an
example of the first style in ?plotmath.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
tlum...@u.washington.edu University of Washington, Seattle
______________________________________________
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.