How to plot a grouped bar chart?

10 views (last 30 days)
Parth
Parth on 19 Feb 2024
Commented: Matt J on 23 Feb 2024
I am trying to stack five comparitive features together for each of the 4 different scenarios along the x axis and the Y axis has year from 2025 to 2050 with increament of 5 years. Each feature should have a different colour and the bar height should be a representative of the cost involved for each feature . How can I do this?

Accepted Answer

Matt J
Matt J on 19 Feb 2024
Edited: Matt J on 19 Feb 2024
  10 Comments
Parth
Parth on 23 Feb 2024
Hello Sir. Thanks a ton. This is more than perfect. Thanks for the help.
Matt J
Matt J on 23 Feb 2024
You're welcome, but please Accept-click the answer to indicate that it worked.

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!