Varying cluster size in cluster bar chart

1 次查看(过去 30 天)
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!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by