HG2 Legend Tools

Provides a set of methods to modify existing HG2 Legend objects

https://github.com/StackOverflowMATLABchat/legtools

You are now following this Submission

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 (2026). HG2 Legend Tools (https://github.com/StackOverflowMATLABchat/legtools), GitHub. Retrieved .

Acknowledgements

Inspired by: legappend

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
2.1.0.0

Added adddummy method for adding legend entries for unsupported graphics objects.

2.0.1.0

Fix description typo

2.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.