Varying cluster size in cluster bar chart

1 vue (au cours des 30 derniers jours)
Ajay
Ajay le 15 Oct 2023
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!

Réponses (1)

the cyclist
the cyclist le 16 Oct 2023
Sounds like the barh function will make the kind of chart you want.

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by