MATLAB Answers

Bar graph - how to add transparency in Matlab 2014b

10 views (last 30 days)
Karolina
Karolina on 24 Sep 2015
Answered: Mike Garrity on 28 Sep 2015
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?

  0 Comments

Sign in to comment.

Accepted Answer

Mike Garrity
Mike Garrity on 28 Sep 2015
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.