[R] Superscript text in axis labels

From: Jim BRINDLE <j_brindle_at_hotmail.com>
Date: Mon 06 Jun 2005 - 07:25:41 EST


Hello,

I am guessing this is not a difficult question. But at the same time, I haven't had much luck figuring this issue out from the R documentation and help pages.

How can I create superscript text in the labels of a plot? The parameter along my y-axis is volume and my desire is for the y-axis label to read "Volume (cm^3)" except with the "3" in the superscript form/position.

Any insight or references would be greatly appreciated.

Thanks a million,
Jim



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 Mon Jun 06 07:33:57 2005

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