[R] Isotopic notation in plots

Christophe Declercq cdeclercq at nordnet.fr
Tue May 18 12:26:37 CEST 2004


Try:

> plot(1:10,xlab=expression(phantom(0)^{14}*C))

Christophe
--
Christophe Declercq, MD
Observatoire regional de la sante Nord-Pas-de-Calais
13, rue Faidherbe
F-59046 LILLE Cedex
Phone 33 3 20 15 49 24
Fax 33 3 20 55 92 30
E-mail c.declercq at orsnpdc.org
 


> -----Message d'origine-----
> De : r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]De la part de Andersson, Henrik
> Envoye : mardi 18 mai 2004 11:00
> A : r-help at stat.math.ethz.ch
> Objet : [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