[R] Getting greek letters in plot labels and title

Thomas Petzoldt petzoldt at rcs.urz.tu-dresden.de
Fri Sep 12 09:23:11 CEST 2003


Paul Delmar schrieb:

> Hi, 
>  
> Does any one knows how to include greek letters in plot labels and plot
> titles ?

See ?plotmath and the demo in the base package

demo(plotmath)

(or demo(graphics) in some older versions)

A small example:

plot(pnorm(seq(-3,3,.1)), xlab="x",
            ylab=expression(Phi),
            main=expression(Phi==f(x)))


Thomas


-- 
Thomas Petzoldt
Dresden University of Technology
Institute for Hydrobiology         petzoldt at rcs.urz.tu-dresden.de
01062 Dresden                      http://www.tu-dresden.de/fghhihb/




More information about the R-help mailing list