You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
This function uses plot and text commands provided by matlab to draw a very flexible legend. Now you can draw a legend in your own way. If you need, you can write more sophisticated functions based on this, which would be more personalized.
Cite As
qian (2026). freelegend(hline,hax,hf,str,posi,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/52835-freelegend-hline-hax-hf-str-posi-varargin), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: simonhenin/columnlegend
General Information
- Version 1.0.0.0 (2.66 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
