[R] Isotopic notation in plots
Hanke, Alex
HankeA at mar.dfo-mpo.gc.ca
Tue May 18 13:27:01 CEST 2004
Henrik, Please try:
plot(1:10,xlab=expression({}^{14}*C))
-----Original Message-----
From: Andersson, Henrik [mailto:H.Andersson at nioo.knaw.nl]
Sent: May 18, 2004 7:00 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Isotopic notation in plots
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
______________________________________________
R-help at stat.math.ethz.ch 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
More information about the R-help
mailing list