An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120308/41e9a1fe/attachment.pl>
legend
4 messages · Chintanu, Pascal Oettli, Rolf Turner
Hi?Chintanu, Try this: legend (locator(1), "Important ones", box.col=NA) Regards, Pascal ----- Mail original ----- De?: Chintanu <chintanu at gmail.com> ??: r-help at r-project.org Cc?: Envoy? le : Jeudi 8 mars 2012 14h52 Objet?: [R] legend 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") Thank you. regards, Chintanu ??? [[alternative HTML version deleted]] ______________________________________________ R-help at 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.
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
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120309/eb86e582/attachment.pl>