Re: [R] Using expression() in plot() XXXX

2012-05-07 Thread Rui Barradas
Hello, Try plot(1) text(1, 1.4, expression(bar(X)[cv] == 552.01)) [subscript] and == Hope this helps, Rui Barradas Dan Abner wrote > > Hello everyone, > > I am trying to add the following text (in proper notation) to a > graphic using expression(). > > X-bar (with a subscript of cv) =

Re: [R] Using expression() in plot() XXXX

2012-05-07 Thread Rolf Turner
The following works for me: plot(1:10) text(4,8,expression(bar(X)[cv]==552.01)) cheers, Rolf Turner On 08/05/12 09:39, Dan Abner wrote: Hello everyone, I am trying to add the following text (in proper notation) to a graphic using expression(). X-bar (with a subscript of

Re: [R] Using expression() in plot() XXXX

2012-05-07 Thread Jorge I Velez
The code below should have been plot(0, main = expression(bar(X)[cv])) Apologies for the noise. Jorge.- On Mon, May 7, 2012 at 5:44 PM, Jorge I Velez <> wrote: > Hi Dan, > > If I understood correctly, the following will do: > > plot(0, main = expression(bar(X)^{cv})) > > HTH, > Jorge.- > > > >

Re: [R] Using expression() in plot() XXXX

2012-05-07 Thread Jorge I Velez
Hi Dan, If I understood correctly, the following will do: plot(0, main = expression(bar(X)^{cv})) HTH, Jorge.- On Mon, May 7, 2012 at 5:39 PM, Dan Abner <> wrote: > Hello everyone, > > I am trying to add the following text (in proper notation) to a > graphic using expression(). > > X-bar (wit