[R] latex subscripts in title of a plot

Kingsford Jones kingsfordjones at gmail.com
Mon Jun 8 03:41:31 CEST 2009


Hi Dajiang,

try

plot(1, main=expression(beta[1]))

and, more generally, see

?plotmath

or

demo(plotmath)



Kingsford Jones


On Sun, Jun 7, 2009 at 4:43 PM, Dajiang Jeff Liu<dajiang.liu at gmail.com> wrote:
> Dear All,
> I want to ask how to make latex symbol \beta_1 into the title of the page.
> The usual bquote does not seem to work.
>
> Any ideas? Thanks a lot.
>
> Regards,
> Dajiang
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list