Re: [R] text command - how to get a white background to cover grid lines

2012-09-07 Thread Jim Lemon
On 09/07/2012 07:30 AM, Levi Waldron wrote: For posterity, I found the TeachingDemos::shadowtext option most agreeable for this problem: * legend puts a large box around the text which did not seem possible to shrink, and does not accept vector x, y arguments * plotrix::boxed.labels di

Re: [R] text command - how to get a white background to cover grid lines

2012-09-06 Thread Levi Waldron
For posterity, I found the TeachingDemos::shadowtext option most agreeable for this problem: * legend puts a large box around the text which did not seem possible to shrink, and does not accept vector x, y arguments * plotrix::boxed.labels did not work with pos=4 (this moved the text, but

Re: [R] text command - how to get a white background to cover grid lines

2012-02-06 Thread 538280
An alternative is the shadowtext function in the TeachingDemos package. On Mon, Feb 6, 2012 at 1:19 AM, Jim Lemon wrote: > On 02/06/2012 08:23 AM, Henry wrote: >> >> New to R - rookie question. >> I'm a mechanical engineer and enjoying using R to make high quality >> graphs. >> >> I've searched.

Re: [R] text command - how to get a white background to cover grid lines

2012-02-06 Thread Jim Lemon
On 02/06/2012 08:23 AM, Henry wrote: New to R - rookie question. I'm a mechanical engineer and enjoying using R to make high quality graphs. I've searched. I want to put text notation on graph plot areas and have the text background "box" white to cover over the grid lines. my command so far..

[R] text command - how to get a white background to cover grid lines

2012-02-05 Thread Henry
New to R - rookie question. I'm a mechanical engineer and enjoying using R to make high quality graphs. I've searched. I want to put text notation on graph plot areas and have the text background "box" white to cover over the grid lines. my command so far text(15,5200,"Air Flow",cex=.8,

Re: [R] text command - how to get a white background to cover grid lines

2012-02-05 Thread Pete Brecknock
How about using the legend function ... plot(rnorm(100)) legend(60,2,"100 Random Normal Draws",cex=.8,text.col="blue", box.col="red",bg="yellow") You can customize my effort to fit your specific needs HTH Pete Henry wrote > > New to R - rookie question. > I'm a mechanical engineer and enjoy