Greek symbols in plot labels
On Thu, 20 Sep 2001, Calvin L. Williams, Ph.D. wrote:
R-Users, I trying to get greek symbols in the labels of a plot. This is successful in the title and in the x-label. But, not successful in the y-label. Is this a bug or am I missing something? For example, plot(0,0, xlab=substitute(paste(phi,"=",true,sigma),list(true=5)), ylab=substitute(paste(phi,"=",true,sigma),list(true=5)), main=substitute(paste(phi,"-Coordinates-",true,sigma),list(true=5))) does the x-label and title correctly, but not y-label.
On what graphics device and OS? Works here, but as the y-axis label is rotated it depends on having rotation support for the symbol font. Try postscript(): I would be surprised if that failed.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._