textBoxPlacement: Compute a Non-Overlapping Layout of Text Boxes to Label Multiple Overlain Plots

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.

Package details

AuthorBarry Zeeberg [aut, cre]
MaintainerBarry Zeeberg <barryz2013@gmail.com>
LicenseGPL (>= 2)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the textBoxPlacement package in your browser

Any scripts or data that you put into this service are public.

textBoxPlacement documentation built on March 31, 2023, 6:05 p.m.