[R] mtext: expressions in bold font

About this list Date view Thread view Subject view Author view

From: Matthew Wiener (mcw@ln.nimh.nih.gov)
Date: Wed 07 Mar 2001 - 07:08:17 EST


Message-ID: <Pine.SGI.3.96.1010306160223.23552E-100000@ln.nimh.nih.gov>

Hi, all.

I'm using mtext to put some labels in figure margins. Several of these
labels are expressions, created with substitute:

mtext(substitute(h[x](t), list(x = paste("n", 1, sep = ","))), cex = 2,
font = 2, side = 4, line = 1, las = 1)

I'm using this to get the subscripting (perhaps there's a better way to do
that?).

The problem is that the font argument seems to be ignored; that is, the h
looks the same as when using

mtext("h", cex = 2, font = 1, side = 4, line = 1, las = 1)
                          ^^^
Is this a feature? A bug? I've looked through the documentation (and the
bug tracker) and haven't found anything about this particular point.

Thanks,

Matt

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


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:35 EST