[R] Text in Plots

Paul Murrell pm254 at medschl.cam.ac.uk
Tue Jun 29 12:51:21 CEST 1999


hi

---snip---

Dear R-users,
I have two problems:
1) In producing mathematical notation in plots I can not produce the
italic version of greek symbols. That is
    mtext(text=expression(mu[i]))
gives the same as
    mtext(text=expression(italic(mu[i])))
Is this a bug or a specifity of my machine (R 0.63.2, Linux 2.0.36,
i686)?

2) I would like to add x and ylabels in boxplots. Is there a way to
do this? I tried:
    bxp(bpdata, xlab="Size Classes", ylab="Cash Flow")
---snip---

1)  this is a "feature";  the only available fonts at present are plain,
bold, italic, bolditalic, and symbol.

2) mtext() should do what you want.

hope this helps ...

paul


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