This package provides tools to combine standard R plots or rgl 3D plots
with a legend, facilitating the creation of composite figures that mix
2D or 3D visualizations with a categorical or continuous legend.
For more information visit https://rubenfcasal.github.io/legendplot/articles/legendplot.html.
legendplot is not yet available from CRAN, but you can
install the development version from github with:
# install.packages("remotes")
remotes::install_github("rubenfcasal/legendplot")