Dear List,
I'd like to add text to a plot where a text symbol has both a superscript and subscript. For example, the variable S with a superscript 2 and a subscript t. I have been able to accomplish this using either
expression( paste(S,atop(scriptstyle(2),scriptstyle(t))) )
or
expression( {S[t]}^2 )but the spacing isn't quite right (or rather what I'd like) using either of these. By 'right' I mean the placement and spacing don't quite coincide with what I'd expect if I superimposed S^2 with S[t]. Is there a way to place BOTH a subscript and superscript so that they are placed identically as if I had overlayed S^2 and S[t]?
I'm using R 1.9.0 on Mac OSX.
Thanks, Brian
-- ********************************************************************* Brian Beckage Department of Botany University of Vermont Marsh Life Science Building Burlington, VT 05405
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
