[R] legend

Rolf Turner rolf.turner at xtra.co.nz
Thu Mar 8 10:42:44 CET 2012


On 08/03/12 18:52, Chintanu wrote:
> Hi,
>
> A very simple thing that I'm unable to do. I did look at the help but ....
>
> While putting a legend on a plot, I don't wish to have the enclosing
> border surrounding the words (as given below).
>
> Tried to use the following, but didn't help  :
>
> legend (locator(1), border=FALSE, fill=FALSE, "Important ones")
>
> legend (locator(1), border=NILL, fill=NILL, "Important ones")

RTFM.  (Hint:  Look at the ***bty*** argument to legend().)

     cheers,

         Rolf Turner



More information about the R-help mailing list