createlegend(vararg​in)

Create legend with customised variable names and variable unit, and in LaTeX format.
35 Downloads
Updated 22 Feb 2017

View License

This function allows you to create and display plot Legend in such a way that each line in the legend has a customized variable name, an equality sign, and a unit sign/symbol.
This should work for all version of MATLAB that supports LaTeX formatting in Legend

Cite As

Chibuzo Nnonyelu (2024). createlegend(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/61709-createlegend-varargin), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0