[R] Isotopic notation in plots
Andersson, Henrik
H.Andersson at nioo.knaw.nl
Tue May 18 11:59:47 CEST 2004
I really like to use R for all my graphs, and as I work with stable
isotopes I want to have a proper chemical notation in my plots
I have looked at ?plotmath, but didn't find the answer and also searched
the R website.
------------------------------------------------------------------------
--
plot(1:10,xlab=expression(^{14}*C)) # I want to have a superscript with
nothing in front, but it doesn't work
plot(1:10,xlab=expresssion(.^{14}*C)) # this works, but is not
beautiful
Any ideas ?
-------------------------------------------------------------
Henrik Andersson
Netherlands Institute of Ecology -
Centre for Estuarine and Marine Ecology
P.O. Box 140
4400 AC Yerseke
Phone: +31 113 577473
h.andersson at nioo.knaw.nl
http://www.nioo.knaw.nl/ppages/handersson
More information about the R-help
mailing list