[R] math symbols in plot text: 2nd try

royle@penguin.irm.r9.fws.gov royle at penguin.irm.r9.fws.gov
Thu Jan 7 19:58:35 CET 1999


Ok, I think my first mail didn't get through so I'll try this again.
Please disregard.

I'm trying to use subscripts on plot text.

The help files say this can be done and give several example.

I'm trying to do: P_{2} (for example) and so I tried:

text(5,2,expression(P_{2}))

which doesn't work.  There are no subscript examples. I recall
someone telling me that latex-like expressions worked, but this does
not, so apparently there is some not so obvious way to do this, or
there is a bug of some sort.

Can someone advise me and/or point me to docs that explicitly
address math notation in plot text?

thanks and regards,
andy


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list