Re: [R] superscript in figures - basic question

From: Peter Alspach <PAlspach_at_hortresearch.co.nz>
Date: Tue 14 Jun 2005 - 12:11:47 EST

Ben

Others have pointed out plotmath. However, for some superscripts (including 2) it may be easier to use the appropriate escape sequence (at in Windows):

ylab = 'BA (m\262/ha)'

Cheers ........

Peter Alspach

>>> "Benjamin M. Osborne" <Benjamin.Osborne@uvm.edu> 14/06/05 13:42:53 >>>
Although I see similar, but more complex, questions addressed in the help archive, I'm having trouble adding superscripted text to the y-axis labels of some figures, and I can't find anything in the R documentation on this.

I have:

ylab="BA (m2/ha)"

but I want the "2" to be superscripted.
Thanks in advence for the help, or for pointing out the appropriate help file.

-Ben Osborne



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

The contents of this e-mail are privileged and/or confidenti...{{dropped}}



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Jun 14 12:17:29 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:33 EST