[R] axis label using expression()

2009-09-28 Thread Tobias.Mathow
Probably a very simple problem: I want to annotate a plot axis with a name of my data using expression(). The name for the data is $\hat P4_k$ written in LaTex style - hat symbol above P, followed by a 4 and a subscripted k index I tried to write this using x-c(1,2,3,4)

Re: [R] axis label using expression()

2009-09-28 Thread Henrique Dallazuanna
Try this: plot(x,y,xlab=expression(hat(P)*4[k])) On Mon, Sep 28, 2009 at 11:59 AM, tobias.mat...@forst.bwl.de wrote: Probably a very simple problem: I want to annotate a plot axis with a name of my data using expression(). The name for the data is $\hat P4_k$ written in LaTex style -