Salut, I have been struggling to superscript the 18 before the O without ^ visible and found only help to superscript numbers after the letter. Thanks to anyone who can help. xlab=expression(delta*18O VSMOW [?]") Cheers, Janine -- View this message in context: http://r.789695.n4.nabble.com/Superscript-number-before-letter-tp3495577p3495577.html Sent from the R help mailing list archive at Nabble.com.
Superscript number before letter
6 messages · Janhal, Richard M. Heiberger, David Winsemius
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110504/c6338986/attachment.pl>
Yes thats it :-) Thank you very much! Janine -- View this message in context: http://r.789695.n4.nabble.com/Superscript-number-before-letter-tp3495577p3495812.html Sent from the R help mailing list archive at Nabble.com.
On May 4, 2011, at 7:28 AM, Richard M. Heiberger wrote:
Dos this do what you want?
plot(1:10, xlab=expression(delta*{}^18*"O" * " VSMOW [?]"))
The specific is to put an empty item there to hold the superscript.
I do not think that is necessary: plot(1:10, xlab=expression(delta^18*O~VSMOW["?"])) (I wasn't sure if the [.] operation was supposed to be a subscript.) I generally avoid spaces in plotmath expressions and use tildes "~" to accomplish any needed spaces. The asterisk "*" is the non-spacing separator between elements.
On Wed, May 4, 2011 at 9:37 AM, Janhal <janine.halder at unil.ch> wrote:
Salut, I have been struggling to superscript the 18 before the O without ^ visible and found only help to superscript numbers after the letter. Thanks to anyone who can help. xlab=expression(delta*18O VSMOW [?]") Cheers, Janine --
David Winsemius, MD Heritage Laboratories West Hartford, CT
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110504/5c967e0f/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110504/a25a2b5b/attachment.pl>