File Exchange

image thumbnail

HG2 Legend Tools

version (6.38 KB) by sco1
Provides a set of methods to modify existing HG2 Legend objects


Updated 06 Oct 2016

From GitHub

View Version History

View license on GitHub

LEGTOOLS is a MATLAB class definition providing the user with a set of methods to modify existing Legend objects.
This is an HG2 specific implementation and requires MATLAB R2014b or newer.
legtools methods:
append - Add one or more entries to the end of the legend
permute - Rearrange the legend entries
remove - Remove one or more legend entries
adddummy - Add legend entry for unsupported graphics objects
For the fastest response times to bugs and requests, please utilize this project's issue tracker on GitHub.

Cite As

sco1 (2021). HG2 Legend Tools (, GitHub. Retrieved .

Comments and Ratings (1)


Note: Functionality is currently broken in R2017a (based on the prerelease)


MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Inspired by: legappend

Community Treasure Hunt

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

Start Hunting!