[R] How to write a Greek letter in a graph?

cathelf cathelf at hotmail.com
Fri Jan 18 21:16:22 CET 2008

Sorry for bothering you again. I have a small question about the graph and
the following is my code:

xyplot(power1+power2 ~ pi0, data=resultb, ylab="Average 
Power", type="l", pch=LETTERS[1:2], lty=c(1:2), main="(a)")

The name of the X-axis will be “pi0” in the graph. 

What should I do if I want the name of the X-axis is the 
Greek letter of “pi0”?

Thanks a lot!

View this message in context: http://www.nabble.com/How-to-write-a-Greek-letter-in-a-graph--tp14957789p14957789.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list