Here is my code:
cumret=cumprod(1+combinedRet)-1;plot(cumret)startDate=tday(1);endDate=tday(end);x=linspace(startDate,endDate,10);datetick('x',2);
startDate is 20120824, endDate is 20150529. So why does my x-axis start at 1/1/00?
MATLABplot
cumret=cumprod(1+combinedRet)-1;plot(cumret)startDate=tday(1);endDate=tday(end);x=linspace(startDate,endDate,10);datetick('x',2);
Best Answer