How to draw below graph in MATLAB?
Show older comments
I need to draw this type of graph. in X axis just character.

Answers (1)
Walter Roberson
on 23 Nov 2021
Edited: Walter Roberson
on 23 Nov 2021
0 votes
To draw the rectangles, you can use fill() or you can use rectangle() with 'FaceColor' option.
To put in the text, you can use text()
Categories
Find more on Graph and Network Algorithms 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!