Skip to content
Prev 228229 / 398500 Next

par("uin") ? / brace function

Thanks, Peter
This more or less corresponds to the solution I came to, modulo xyinch() 
and atan2(x,y) = atan(x/y).
It is mostly intended as a replacement for arrows() in statistical 
diagrams/plots where you want to
show a given range in a plot precisely without additional boundary lines.

It works reasonably well for horizontal and vertical braces, but in 
other cases depends on the
aspect ratio of the plot. The internal calculation of scale is a kludge 
to try to adjust for that.

-Michael
Peter Ehlers wrote: