Bar graph - how to add transparency in Matlab 2014b

I would like to add transparency to my bar graph. However, any option which I have found in Matlab forum does not work in my Matlab version. Does anyone know how to add transparency in Matlab 2014b?

 採用された回答

Mike Garrity
Mike Garrity 2015 年 9 月 28 日

0 投票

In R2014b you'd have to create the bars yourself using fill or patch, which is how bar was implemented in earlier releases.
However, if you can upgrade, in R2015b the Bar (as well as Area and Scatter) object got a FaceAlpha property which will make them transparent.

その他の回答 (0 件)

カテゴリ

質問済み:

2015 年 9 月 24 日

回答済み:

2015 年 9 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by