[R] Encircling a text in a plot
Hello everyone, I want to write something in a plot with text or something similar, e.g. text(x,y,"something") but I want to encircle it by a box as in a legend. I have absolutely no idea how this could work. Thank you very much for your answers! Maja -- __ R-help@stat.math.ethz.ch 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.
Re: [R] Encircling a text in a plot
Maja Schröter wrote: > Hello everyone, > > I want to write something in a plot with text or something similar, e.g. > text(x,y,"something") but I want to encircle it by a box as in a legend. > > I have absolutely no idea how this could work. > Hi Maja, Have a look at boxed.labels and textbox in the plotrix package. Jim __ R-help@stat.math.ethz.ch 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.