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.
引用格式
Chad Greene (2025). legalpha (https://ww2.mathworks.cn/matlabcentral/fileexchange/47550-legalpha), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > Labels and Styling > Labels and Annotations > Legend >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Polygons >
在 Help Center 和 MATLAB Answers 中查找有关 Legend 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!legalpha_documentation/html/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |