Draw a box with the label inside, at the point furthest away from the plot border and any other curve.
inside
"angled.boxes"