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.
Cita come
Chad Greene (2026). legalpha (https://it.mathworks.com/matlabcentral/fileexchange/47550-legalpha), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Legend >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Polygons >
Scopri di più su Legend in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
