[R] text with greek letters
Jannis
bt_jannis at yahoo.de
Sat Jun 5 13:43:13 CEST 2010
try
help(plotmath)
help(expression)
Thomas Bschorr schrieb:
> Hi,
>
> I am having troubles in putting greek letters and formatted text in a plot
>
>
> m=1.43432
> sig=0.124333
> text(10.5,0.07,sprintf("<Sigma>=%1.2f±%1.2f",m,sig))
> I would like to have the greek letter Sigma followed by the formatted numeric values of m and sig.
> Does someone know a solution?
>
> thanks a lot
> Thomas
>
> ---------------------------------
> Thomas Bschorr
>
> Department of Physics
> Institute of Astronomy
> ETH Zurich
> Wolfgang-Pauli-Strasse 27, HIT J 11.3
> CH-8093 Zürich
> Switzerland
>
> E-mail: bschorr at phys.ethz.ch
> Phone: +41 (0)44 633-6684
> Fax: +41 (0)44 633-1238
> Web: http://www.exp-astro.phys.ethz.ch <http://www.exp-astro.phys.ethz.ch/>
>
>
> [[alternative HTML version deleted]]
>
>
> ------------------------------------------------------------------------
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list