[R] Math notation in a title
dwinsemius at comcast.net
Wed Oct 16 18:31:16 CEST 2013
On Oct 15, 2013, at 10:52 AM, David Arnold wrote:
> I'd like to put the following in a main title of a plot.
> Can someone show me how to do this?
plot(1, main=expression("Pareto Distribution:"~alpha==2*","~italic(y)[italic(m)]==3) )
That italic-y is not as "cursive" as your example, but perhaps you can use a different font. If that is your desire then look at the last examples in ?points. (It always has seemed strange that so much useful stuff about text/font output is located in the help page for points, but there is a link to that page near the end ofhte ?plotmath page.)
Alameda, CA, USA
More information about the R-help