Transparency of bar plots ?
2 次查看(过去 30 天)
显示 更早的评论
Hi I am plotting transparent bars together with a curve (see please the attachment). I would like to have the curve located on top of the bars in such a way that bar under the curve is not visible. Unfortunately I am not able to get this done, the way it looks is always as if the curve is underneath the bars.
h = bar(x,mean(fg),1);
set(h,'linestyle','none','ShowBaseline','off');
alpha(get(h,'children'),.5);
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!