Plots
Completion requirements
2. Bar Chart
The following is the plot of marks vs. year for a subject in a question paper.
>> year=[2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022]; >> marks=[5,5,8,10,7,10,8,8,5,12,6,9,10]; >> bar(year,marks) >>