Hi everyone. I'm trying to use small letter phi in a graph produced in R. However, the small letter phi does not look as it should. In fact, it looks like this: http://r.789695.n4.nabble.com/file/n3963311/Untitled.png instead of what is here http://en.wikipedia.org/wiki/Phi Here's the code I use: expression(phi [1]) Anyone has an idea? With regards, Phil -- View this message in context: http://r.789695.n4.nabble.com/Greek-letter-tp3963311p3963311.html Sent from the R help mailing list archive at Nabble.com.
On 01.11.2011 13:20, Filoche wrote:> Hi everyone. > > I'm trying to use small letter phi in a graph produced in R. However, the > small letter phi does not look as it should. > > In fact, it looks like this: > > http://r.789695.n4.nabble.com/file/n3963311/Untitled.pngYes, an excellent phi.> instead of what is here http://en.wikipedia.org/wiki/Phi > > Here's the code I use: > > expression(phi [1]) > > Anyone has an idea?Yes, read ?plotmath and try "phi1", if that better matches your taste. Uwe Ligges> With regards, > Phil > > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Greek-letter-tp3963311p3963311.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Try changing phi to varphi. Michael On Tue, Nov 1, 2011 at 8:20 AM, Filoche <pmassicotte at hotmail.com> wrote:> Hi everyone. > > I'm trying to use small letter phi in a graph produced in R. However, the > small letter phi does not look as it should. > > In fact, it looks like this: > > http://r.789695.n4.nabble.com/file/n3963311/Untitled.png > > instead of what is here http://en.wikipedia.org/wiki/Phi > > Here's the code I use: > > expression(phi [1]) > > Anyone has an idea? > > With regards, > Phil > > > > > -- > View this message in context: http://r.789695.n4.nabble.com/Greek-letter-tp3963311p3963311.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >
On Nov 1, 2011, at 13:20 , Filoche wrote:> Hi everyone. > > I'm trying to use small letter phi in a graph produced in R. However, the > small letter phi does not look as it should. > > In fact, it looks like this: > > http://r.789695.n4.nabble.com/file/n3963311/Untitled.png > > instead of what is here http://en.wikipedia.org/wiki/PhiActually, the former _is_ in the latter... However, you probably want TeX's \varphi.> > Here's the code I use: > > expression(phi [1]) > > Anyone has an idea?demo(plotmath) # 2nd page, 2nd column, 6th entry from end. -- Peter Dalgaard, Professor Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com