How to draw below graph in MATLAB?

Réponses (1)

Walter Roberson
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

Produits

Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by