[R] complex subscript/superscript on axis labels

Eileen Meyer meyer at rice.edu
Thu Feb 9 18:53:31 CET 2012


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 gamma 
would be the greek symbol.  I do want the comma to show as well.

Thanks,

EM



More information about the R-help mailing list