How can I add text that has a border and a typeface (e.g. bold, italic) etc.

15 views
Skip to first unread message

Michael M

unread,
Jul 10, 2010, 11:52:53 AM7/10/10
to ggplot2
Hello,
I want to create a textbox that looks like a legend but only has text
in it. I want a Title like legend has a box and text and i want to
add more than one to the plot. I need this to annotate mean and
stdev ...
That is not possible just with geom_text().

How can i do it?

Hadley Wickham

unread,
Jul 16, 2010, 6:27:23 AM7/16/10
to Michael M, ggplot2
It's not currently possible unless you use grid directly.
Hadley

> --
> You received this message because you are subscribed to the ggplot2 mailing list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
>

--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

Reply all
Reply to author
Forward
0 new messages