Look at the shadowtext function in the TeachingDemos package and the boxed.labels function in the plotrix package.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@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 > > > > <!-- > /* Font Definitions */ > @font-face > {font-family:"Cambria Math"; > panose-1:2 4 5 3 5 4 6 3 2 4; > mso-font-charset:1; > mso-generic-font-family:roman; > mso-font-format:other; > mso-font-pitch:variable; > mso-font-signature:0 0 0 0 0 0;} > @font-face > {font-family:Calibri; > panose-1:2 15 5 2 2 2 4 3 2 4; > mso-font-charset:0; > mso-generic-font-family:swiss; > mso-font-pitch:variable; > mso-font-signature:-520092929 1073786111 9 0 415 0;} > /* Style Definitions */ > p.MsoNormal, li.MsoNormal, div.MsoNormal > {mso-style-unhide:no; > mso-style-qformat:yes; > mso-style-parent:""; > margin-top:0cm; > margin-right:0cm; > margin-bottom:10.0pt; > margin-left:0cm; > line-height:115%; > mso-pagination:widow-orphan; > font-size:11.0pt; > font-family:"Calibri","sans-serif"; > mso-ascii-font-family:Calibri; > mso-ascii-theme-font:minor-latin; > mso-fareast-font-family:Calibri; > mso-fareast-theme-font:minor-latin; > mso-hansi-font-family:Calibri; > mso-hansi-theme-font:minor-latin; > mso-bidi-font-family:"Times New Roman"; > mso-bidi-theme-font:minor-bidi; > mso-fareast-language:EN-US;} > .MsoChpDefault > {mso-style-type:export-only; > mso-default-props:yes; > mso-ascii-font-family:Calibri; > mso-ascii-theme-font:minor-latin; > mso-fareast-font-family:Calibri; > mso-fareast-theme-font:minor-latin; > mso-hansi-font-family:Calibri; > mso-hansi-theme-font:minor-latin; > mso-bidi-font-family:"Times New Roman"; > mso-bidi-theme-font:minor-bidi; > mso-fareast-language:EN-US;} > .MsoPapDefault > {mso-style-type:export-only; > margin-bottom:10.0pt; > line-height:115%;} > @page WordSection1 > {size:595.3pt 841.9pt; > margin:70.85pt 70.85pt 2.0cm 70.85pt; > mso-header-margin:35.4pt; > mso-footer-margin:35.4pt; > mso-paper-source:0;} > div.WordSection1 > {page:WordSection1;} > --> > > > 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. > > > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.