I am trying to plot a graph of the amount of rain over one year ( 12 months) using the code below, but the problem is that only 3 months appear on the graph ( Jan, Feb and March) and I have no I idea where I went wrong !!
startDate = datenum('Oct 1991');endDate = datenum('Sep 1992');xData = linspace(startDate,endDate,12);plot(xData,Max_rain)datetick('x','mmm')
Best Answer