[R] Isotopic notation in plots

Sundar Dorai-Raj sundar.dorai-raj at PDF.COM
Tue May 18 16:39:53 CEST 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).
> 
> Where do I read more?
> 
> Thanks,
> Rob
> 

See ?plotmath.

  *Syntax*                     *Meaning*
  'x + phantom(0) + y'         leave gap for "0", but don't draw it

--sundar




More information about the R-help mailing list