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);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145748/image.png)
댓글 수: 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!