How to set alpha value (transparency) of legend to match alpha in fill plot using automatically generated legend?

21 次查看(过去 30 天)
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:
mathworks.PNG
I'm using MATLAB Version 2017a.
Kind regards,
Moritz

采纳的回答

Jan
Jan 2019-3-28
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by