MATLAB Answers


How do I make 2 bar stacked per month (x-axis)?

Asked by Phoenix
on 17 Jul 2019
Latest activity Commented on by Phoenix
on 17 Jul 2019
Hi everyone,
I would just like to ask on how can I make a similar plot using MATLAB from the given data I've attached in excel? My goal is to create a plot similar to the figure below which I created initially with Tableau. I came across this forum but it didn't work out well for my plotting( Thank you for your help. Have a good day.


Sign in to comment.

1 Answer

Answer by KALYAN ACHARJYA on 17 Jul 2019
Edited by KALYAN ACHARJYA on 17 Jul 2019

Test file is attched.


Hi. Thank you but that is quite far from my desired plot. I'm interested with multiple bar stacked (similar to the figure I attached earlier).
The total number of bar is depends on data (row) in excel file. Number of stack depends on Col in excel file.
Hope it Helps!
Yeah? I know that. That's quite basic in plotting bar stacked charts. anyway, thanks for your intention to help. :)

Sign in to comment.