Re: [R] legend font

2007-02-14 Thread Duncan Murdoch
On 2/14/2007 3:12 PM, Tyler Smith wrote: > On Wed, Feb 14, 2007 at 02:40:47PM -0500, Duncan Murdoch wrote: >> On 2/14/2007 1:32 PM, Tyler Smith wrote: >> >Hi, >> > >> >I'd like to make the text in my legends italic, > > ... > >> >How can I do this? >> >> This should work: >> >> plot(1,1) >> sa

Re: [R] legend font

2007-02-14 Thread Tyler Smith
On Wed, Feb 14, 2007 at 02:40:47PM -0500, Duncan Murdoch wrote: > On 2/14/2007 1:32 PM, Tyler Smith wrote: > >Hi, > > > >I'd like to make the text in my legends italic, ... > >How can I do this? > > This should work: > > plot(1,1) > savefont <- par(font=3) > legend("topright", legend=c('Label

Re: [R] legend font

2007-02-14 Thread Duncan Murdoch
On 2/14/2007 1:32 PM, Tyler Smith wrote: > Hi, > > I'd like to make the text in my legends italic, but I can't figure out > how to do so. font=3 doesn't work. Googling brings up the possibility > of expression(italic()), which produces italics, but I can't get this > to work with my label data, wh

[R] legend font

2007-02-14 Thread Tyler Smith
Hi, I'd like to make the text in my legends italic, but I can't figure out how to do so. font=3 doesn't work. Googling brings up the possibility of expression(italic()), which produces italics, but I can't get this to work with my label data, which is a vector of strings: legend(locator(1), leg