AddMultipleLegends

Add as many legend you want to a single figure

You are now following this Submission

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.

Cite As

Alexander Mering (2026). AddMultipleLegends (https://www.mathworks.com/matlabcentral/fileexchange/43657-addmultiplelegends), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0