Varying cluster size in cluster bar chart

I am trying to make a cluster bar chart with 12 "source materials", each of which have different "products" with related "revenue" in them. The number and type of product in each source material is not always the same. I want to make a cluster bar chart, with horizontal bars, for each source material and product. I want the colors of products to all be the same. Can anyome help? I made a table called "CoproductRevenue" with three column and 46 rows. Columns are "SoureMaterial", "Products", and "Revenue". PLease and thank you!

Respuestas (1)

the cyclist
the cyclist el 16 de Oct. de 2023

0 votos

Sounds like the barh function will make the kind of chart you want.

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 15 de Oct. de 2023

Respondida:

el 16 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by