This function allows to add multiple legends to a single figure / axes.
Simply define the typical legend properties such as DisplayName, LineStyle, Color, ... and there you go.
All additional settings such as Orientation, Location, ... could be freely choosen for each of the extra legends.
The contained examlpe shows the "ordinary" legend together with three additional legends.
Alexander Mering (2022). AddMultipleLegends (https://www.mathworks.com/matlabcentral/fileexchange/43657-addmultiplelegends), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!