Plot data with months on X and numerical value on Y
Show older comments
Hello I have an excel file with column 1 as montly data in the fromat dec,jan,feb.... and the column 2 has sales value. I have imported this matlab. but how do i plot this in bar graph ?
Answers (1)
Eric Delgado
on 5 Oct 2022
0 votes
See image below...

5 Comments
Priyadarshan Priyadarshan
on 5 Oct 2022
Adam Danz
on 6 Oct 2022
What do you expect to see? Do you want 1 bar for each data point? Are you expecting to see 12 bars, one for each month? Or perhaps groups of bars by year? What's your goal?
Priyadarshan Priyadarshan
on 6 Oct 2022
Priyadarshan Priyadarshan
on 10 Nov 2022
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!