[R] greek letters in plots

Ross Ihaka ihaka at stat.auckland.ac.nz
Wed May 19 22:57:26 CEST 2004


Antonio Olinto wrote:
> Hi,
> 
> I want to write in x axis label "fitted value of lambda" (lambda in greek 
> letter).
> 
> xlab=expression(lambda) gives the "lambda", I tryed things like xlab=paste
> ("fitted value of ", expression(lambda)) but I didn't get the greek letter.
> 
> Thanks in advance for any hint.

Try xlab=expression("fitted value of"~lambda) or
xlab=expression("fitted value of "*lambda).
-- 
Ross Ihaka                         Email:  ihaka at stat.auckland.ac.nz
Department of Statistics           Phone:  (64-9) 373-7599 x 85054
University of Auckland             Fax:    (64-9) 373-7018
Private Bag 92019, Auckland
New Zealand




More information about the R-help mailing list