Re: [R] Math expression in R plot

2012-09-21 Thread David Winsemius
On Sep 21, 2012, at 8:19 AM, arun wrote: > Hi, > Try this: > plot(0,0) > title(expression(paste(plain("Estimator vs. "),eta,sep=" "))) > A.K. Will not throw an error, but perpetuates the misconception that plotmath paste() has a 'sep' argument. The space comes from the first argument and the

Re: [R] Math expression in R plot

2012-09-21 Thread arun
Hi, Try this: plot(0,0)  title(expression(paste(plain("Estimator vs. "),eta,sep=" "))) A.K. - Original Message - From: li li To: r-help Cc: Sent: Friday, September 21, 2012 11:04 AM Subject: [R] Math expression in R plot Dear all,   In my R plot, I would like to add the title as "E

Re: [R] Math expression in R plot

2012-09-21 Thread Bert Gunter
... and she might also want an additional space between "vs. and "eta", either by inserting it within the quotes explicitly or using: expression(plain("Estimator vs.")~eta) -- Bert On Fri, Sep 21, 2012 at 8:15 AM, peter dalgaard wrote: > > On Sep 21, 2012, at 17:04 , li li wrote: > >> Dear all

Re: [R] Math expression in R plot

2012-09-21 Thread peter dalgaard
On Sep 21, 2012, at 17:04 , li li wrote: > Dear all, > In my R plot, I would like to add the title as "Estimator vs. Eta", > where I want to use the greek letter eta. > I was trying to use expression(plain("Estimator vs.") *eta* ). It does not > seem to work. > Can anyone familiar with this gi