Hello,
I am trying to understand how the indexing of stacked bars work. I have a plot with 2 stacked bars but am only able to color the stacks of them the same.
When I use for example b(1,i).FaceColor = [0 0 0] it works but just like I said before I can only color both stacked bars stacks the same. If I use b(2,i) = [ 0 0 0] ( I thought that the first number refers to the number of stacked bars, while the i refers to the individual stacks) I get the following error:
Unrecognized property 'FaceColor' for class 'matlab.graphics.GraphicsPlaceholder'.
Best Answer