[R] Adding greek letters to plot title

Gabor Grothendieck ggrothendieck at gmail.com
Wed Feb 18 23:59:25 CET 2009


Try this (or replace selected occurrences of * with ~ to get spaces
instead of juxtaposition):

plot(1:3, main = ~ "R=[" * 0.001 * mu * Mu * "]:A=[" * 750 * mu * Mu * "]")

On Wed, Feb 18, 2009 at 3:56 PM, gina patel <ginapatel1981 at yahoo.com> wrote:
> I would like to add the greek letter mu to replace u in my title shown below.
>
> main="R=[0.001uM]:A=[750uM]"
>
> i tried using main=expression(R=[0.001~mu~M]:A=[750~mu~M])
>
> but this is not working at the moment.
>
> any help is appreciated
>
> thanks in advance
>
>
>
>
>
>        [[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