textBoxPlacement: Compute a Non-Overlapping Layout of Text Boxes to Label Multiple
Compute a non-overlapping layout of text boxes to label multiple overlain curves. For each curve, iteratively search for an adjacent x,y position for the text box that does not overlap with the other curves. If this process fails, then offsets are computed to add to the y values for each curve, that results in sufficient space to add all of the text labels.
||R (≥ 4.2.0)
||graphics, stats, grDevices
||knitr, rmarkdown, testthat (≥ 3.0.0)
||Barry Zeeberg [aut, cre]
||Barry Zeeberg <barryz2013 at gmail.com>
||GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Please use the canonical form
to link to this page.