How to draw below graph in MATLAB?
Mostrar comentarios más antiguos
I need to draw this type of graph. in X axis just character.

Respuestas (1)
Walter Roberson
el 23 de Nov. de 2021
Editada: Walter Roberson
el 23 de Nov. de 2021
0 votos
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()
Categorías
Más información sobre Graph and Network Algorithms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!