If you've plotted semitransparent patch objects and tried to include them in a legend, you may have noticed that legend does not include transparency. This function solves the problem simply. Use legalpha just as you'd use legend, and if legalpha finds patch objects with transparency associated with them, the patches will be displayed properly in the legend.
Zitieren als
Chad Greene (2024). legalpha (https://www.mathworks.com/matlabcentral/fileexchange/47550-legalpha), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Formatting and Annotation > Labels and Annotations > Legend >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Polygons >
Mehr zu Legend finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
legalpha_documentation/html/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |