[R] subscript with comma
Uwe Ligges
ligges at statistik.tu-dortmund.de
Wed Jan 4 16:51:38 CET 2012
On 04.01.2012 16:12, suse wrote:
> Hi,
>
> I want to write a word with subscript in a graph. Unfortunately, the
> subscript contains a comma, so all my trials didn't work and I didn't find
> how to do it.
> I want to write "sm" as normal text and "w,grass" in the subscript. Can
> anybody help me?
>
> And a more general question: I read the help to "plotmath", but I still
> didn't understand, how it works. Is there a good documentation, book,...
> which explains all this stuff?
?plotmath suggests to use a comma separated list as in:
plot(1, main=expression(sm[list(w,grass)]))
Uwe Ligges
>
> Thanks in advance!
>
>
> --
> View this message in context: http://r.789695.n4.nabble.com/subscript-with-comma-tp4261579p4261579.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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