[R] Text in Plots

Friedrich Leisch Friedrich.Leisch@ci.tuwien.ac.at
Tue, 29 Jun 1999 17:31:40 +0200 (CEST)


[ taken to r-devel ]

>>>>> On Tue, 29 Jun 1999 11:51:21 +0100,
>>>>> Paul Murrell (PM) wrote:

PM> hi
PM> ---snip---

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

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

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

Hmm, are we sure that this is a "feature"? The most common use for
greek symbols is in equation and the most common word processor for R
users is (hopefully/probably/maybe) LaTeX ... and greek letters in
LaTeX equations are italic ... hence shouldn't we make them available
(if possible)?

But I must admit that I obviously didn't need it before ... :-)


.f


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._