How to draw below graph in MATLAB?

Respuestas (1)

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

Productos

Versión

R2021b

Etiquetas

Preguntada:

el 23 de Nov. de 2021

Editada:

el 23 de Nov. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by