Multiple bar plot of different datasets in the same figure
Show older comments
Hi folks!
I would like to create a bar plot similar to the attached figure.
The reference https://www.mathworks.com/help/matlab/ref/bar.html reports how to plot datasets like the green and blue bars. Ok.
In the same figure, is it possible to insert two additional single bars like the yellow and red in the image?

If possible, could someone more experienced suggest a way to do this by code? How could I put the x-axis tick labels in this case?
Ps: I'm using Matlab R2018a
Best,
Accepted Answer
More Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!