[R] Greek symbols in plot labels

kjetil halvorsen kjetilh at umsanet.edu.bo
Thu Sep 20 19:47:21 CEST 2001


Hola!

I tried this example on my machine (R1.3.0, windows 98) and the
y labels como out correctly.

Kjetil Halvorsen


"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.
> 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/
> ============================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list