[R] Draw text with a box surround in plot.

Bert Gunter gunter.berton at gene.com
Thu Jun 3 18:10:44 CEST 2010


?legend   perhaps.

Bert Gunter
Genentech Nonclinical Biostatistics
 
 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Peter Ehlers
Sent: Wednesday, June 02, 2010 4:14 PM
To: guox at ucalgary.ca
Cc: r-help at r-project.org
Subject: Re: [R] Draw text with a box surround in plot.

On 2010-06-02 16:57, guox at ucalgary.ca wrote:
> text() can draw text on a plot.
> Do we have a way/function to draw text with a box surround it?
> Thanks,
>

There may be a function in some package, but I would just use rect().
?rect

  -Peter Ehlers

______________________________________________
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