make_custom_patch_l​egend

Make a legend with customized colors and labels, independent of plotted data.

Download
Download

You are now following this Submission

Cite As

Jonah Pearl (2026). make_custom_patch_legend (https://nl.mathworks.com/matlabcentral/fileexchange/74952-make_custom_patch_legend), 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.2.2

Trying again. Added list of default MATLAB colors.

Download
1.2.1

1.2 update push didn't work for some reason.

Download
1.2.0

Fixed the same spot, so that the for-loop indexing depends on the argument.

Download
1.1.0

Changed line 49 from length(...) to size(...,1).

Download
1.0.0

Download