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