How to set alpha value (transparency) of legend to match alpha in fill plot using automatically generated legend?
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Moritz Pohl
am 28 Mär. 2019
Kommentiert: Moritz Pohl
am 29 Mär. 2019
Hi,
crawling around the forums for a while now but haven't found any helpful answer. I create several fill plots and the legend with
for i = 1:6
fill(fillX, fillY, my_col(i,:), 'facealpha', fillAlpha, 'DisplayName', par.Names{i});
end
legend show
Everything works fine. The only issue is that the legend does not use the correct face alpha for the legend entries:

I'm using MATLAB Version 2017a.
Kind regards,
Moritz
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!