Re: [R] Help with plotmath

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Tue 05 Sep 2006 - 03:41:39 GMT

Try:

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

On 9/4/06, Kenneth Cabrera <krcabrer@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@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.
>



R-help@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. Received on Tue Sep 05 17:06:37 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.