[R] Greek symbols in plot labels

Calvin L. Williams, Ph.D. calvinw at ces.clemson.edu
Thu Sep 20 19:03:15 CEST 2001


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.
Cheers,

-- 
====================  Calvin L. Williams, Ph.D.  ====================
      Department of Mathematical Sciences, Clemson University
                             Box 340975 ,   0-323 Martin Hall
                       Clemson, South Carolina 29634-0975
       VOICE: (864) 656-5241  or leave message (864) 654-7187
                  EMAIL: calvinw at ces.clemson.edu
                                FAX: 1-(864) 656-5230
         WWW:   http://www.ces.clemson.edu/~calvinw/
============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010920/7c410d63/attachment.html


More information about the R-help mailing list