Displaying 1 result from an estimated 1 matches for "p4_k".
Did you mean:
94_k
2009 Sep 28
1
axis label using expression()
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)
y<-c(3,5,7,9)
plot(x,y,xlab=expression(hat(P4[k])) )
but cant find a way to force the hat symbol to be located only above the
P symbol a...