Re: [R] complex subscript/superscript on axis labels

2012-02-09 Thread David Winsemius
On Feb 9, 2012, at 1:20 PM, David Winsemius wrote: On Feb 9, 2012, at 12:53 PM, Eileen Meyer wrote: Hi All, I am having trouble getting a complex subscript to work. I'm sure it's possible. Here is what I have: ylab=expression(paste("log ",L[peak]," [erg ",s^{-1},"]")), I would like

Re: [R] complex subscript/superscript on axis labels

2012-02-09 Thread David Winsemius
On Feb 9, 2012, at 12:53 PM, Eileen Meyer wrote: Hi All, I am having trouble getting a complex subscript to work. I'm sure it's possible. Here is what I have: ylab=expression(paste("log ",L[peak]," [erg ",s^{-1},"]")), I would like to have the subscript read "peak,gamma" where the gam