Watch this Author's files
very helpful function. thank you!
simple example of using with months:
startDate = datenum ('01-2009','mm-yyyy') endDate = datenum('10-2010','mm-yyyy') date = linspace(startDate,endDate,22); plot(date, sRate), grid set(gca,'XTick',date) datetick('x','mmmyy','keepticks') rotateticklabel(gca, 45)
Contact us