[R] Isotopic notation in plots

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue May 18 19:00:40 CEST 2004


On Tue, 18 May 2004, Robert W. Baer, Ph.D. wrote:

> From: "Christophe Declercq" <cdeclercq at nordnet.fr>
> > Try:
> >
> > > plot(1:10,xlab=expression(phantom(0)^{14}*C))
> 
> Just out of interest, how do I find out what phantom(0) does?  I tried both
> ?phantom and help.search("phantom") without getting any hits, and yet the
> expression posed above creates a leading blank space in the axis label.  I
> take the latter to mean that phantom() is available withinin the basic
> packages (search path).

No, as it is part of plotmath syntax, not an R function.

> Where do I read more?

library(graphics)
?plotmath
demo(plotmath)


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list