setLegendColormap

Uses a colormap for the legend

You are now following this Submission

Useful for the legend for a plot with many lines (e.g. variation of one parameter).

Cite As

Christoph Gradl (2026). setLegendColormap (https://www.mathworks.com/matlabcentral/fileexchange/57629-setlegendcolormap), 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