i tried to add some text to a plot using annotate. Unfortunately i did
not find how to add any text including expression or greek letters.
Using
txt <- expression(mu * 'V')
annotate("text", x=0.12, y=0.12, label=txt, size=2)
just adds the text "mu * "V"".
Thanks,
Herbert
geom_text has a parse argument for this,
qplot(1,1,geom="blank") +
annotate("text", x=1,y=1,label="alpha", parse=TRUE)
HTH,
baptiste
> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> To post to this group, send email to ggp...@googlegroups.com
> To unsubscribe from this group, send email to
> ggplot2+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/ggplot2
>