n...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Aishe Brei
> Sent: Wednesday, October 06, 2010 5:38 AM
> To: r-help@r-project.org
> Subject: [R] text() background
>
>
>
>
>
>
> I'm trying
> to label different graphs within a plot. I used
Try this:
plot(1, type = 'n')
rect(0.8, 0.8,
0.8 + strwidth('test'),
0.8 + strheight('test'), col = 'red', border = 'red')
text(0.8 + 0.021, 0.8 - 0.015, 'test', pos = 3)
On Wed, Oct 6, 2010 at 8:38 AM, Aishe Brei wrote:
>
>
>
>
>
> Im trying
> to label different graphs within a pl
I’m trying
to label different graphs within a plot. I used text() which worked ok, but is
there a way to change the background within text() so that the part of the
graph where the label is, is covert?
Thank you
for your help,
Aishe B.
__
3 matches
Mail list logo