How to draw below graph in MATLAB?
Afficher commentaires plus anciens
I need to draw this type of graph. in X axis just character.

Réponses (1)
Walter Roberson
le 23 Nov 2021
Modifié(e) : Walter Roberson
le 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()
Catégories
En savoir plus sur Graph and Network Algorithms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!