Clear Filters
Clear Filters

Varying cluster size in cluster bar chart

1 view (last 30 days)
Ajay
Ajay on 15 Oct 2023
Answered: the cyclist on 16 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!

Answers (1)

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

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!