Re: [R] Greek letters and formatted text

2010-06-07 Thread S Ellison
The ?plotmath page and the example ## How to combine math and numeric variables : should be helpful...? Thomas Bschorr bsch...@phys.ethz.ch 05/06/2010 10:36:42 Hi, I desperately try to do s.th. like m=1.23455 sig=0.84321 plot(1,1) text(0.8,1,sprintf(Sigma=%1.2f±%1.2f,m,sig)) where

[R] Greek letters and formatted text

2010-06-05 Thread Thomas Bschorr
Hi, I desperately try to do s.th. like m=1.23455 sig=0.84321 plot(1,1) text(0.8,1,sprintf(Sigma=%1.2f±%1.2f,m,sig)) where actually the greek letter should appear for Sigma. I have tried all sorts of combinations with expression and paste etc. but could not work it out. Maybe someone has an

Re: [R] Greek letters and formatted text

2010-06-05 Thread baptiste auguie
Try text(0.8,1,bquote(*sigma*==.(round(m,2))*±*.(round(sig,2 ?bquote ?plotmath On 5 June 2010 11:36, Thomas Bschorr bsch...@phys.ethz.ch wrote: Hi, I desperately try to do s.th. like m=1.23455 sig=0.84321 plot(1,1) text(0.8,1,sprintf(Sigma=%1.2f±%1.2f,m,sig)) where actually the