Re: [R] Writing Text into Plots

From: Marc Schwartz <>
Date: Thu 05 Oct 2006 - 20:49:30 GMT

On Thu, 2006-10-05 at 22:10 +0200, Lothar Botelho-Machado wrote:
> Hello,
> I have a simple question on the text() method in plots, e.g.:
> text(3,4,adj=1,cex=1.0, expression(alpha == beta))
> I know there exists a lot more like frac(), etc which could be used for
> expression. But a help(frac) doesn't return any results - where do I
> have to look for a documentation of possible text commands?
> More in detail I'm searching for how to set an index like mu_{1} and
> mu_{2} ? And how to get something like a bar over a character like \bar x ?

See ?plotmath, which BTW, is listed in the "See Also" section of ?text

HTH, Marc Schwartz mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri Oct 06 07:00:48 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 05 Oct 2006 - 21:30:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.