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. Antonio Olinto ------------------------------------------------- WebMail Bignet - O seu provedor do litoral www.bignet.com.br
Try xlab=expression(paste("fitted value of ", lambda)) Cheers, Andrew On Wed, 19 May 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. > > Antonio Olinto > > > ------------------------------------------------- > WebMail Bignet - O seu provedor do litoral > www.bignet.com.br > > ______________________________________________ > 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 >Andrew Robinson Ph: 208 885 7115 Department of Forest Resources Fa: 208 885 6226 University of Idaho E : andrewr at uidaho.edu PO Box 441133 W : http://www.uidaho.edu/~andrewr Moscow ID 83843 Or: http://www.biometrics.uidaho.edu No statement above necessarily represents my employer's opinion.
Try xlab= (expression("fitted value of "*lambda)) Katarina> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Antonio Olinto > Sent: Thursday, 20 May 2004 8:33 a.m. > To: R Help > Subject: [R] greek letters in plots > > 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. > > Antonio Olinto > > > ------------------------------------------------- > WebMail Bignet - O seu provedor do litoral > www.bignet.com.br > > ______________________________________________ > 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 >======================================================================Attention: The information contained in this message and/or ...{{dropped}}
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