[R] Help with plotmath

Gabor Grothendieck ggrothendieck at gmail.com
Tue Sep 5 05:41:39 CEST 2006


Try:

text(5,5,expression(x[i * "," * j]))

On 9/4/06, Kenneth Cabrera <krcabrer at une.net.co> wrote:
> Hi R users:
>
> How can I have several subscript number with a comma in a plot.
>
> I would like to have the LaTeX equivalent of
>
> x_{i,j}.
>
> I try:
>
> plot(1:10,1:10,type="n")
> text(5,5,expression(x[i,j]))
>
> but it doesn´t work.
>
> Thank you for your help.
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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