plot(dates,y) d=datevec(dates) d=d(:,1) [a,idx]=unique(d)
I have the following code, which shows me a graph with the historic values for a vector called VIX. On the x-axis, I have the years from the vector VIXdate displays, which is working perfectly. The only problem I am facing is, that the dates are displayed for the last day of each year, but I would like to see the date at the point where the first date (01.01) of each year is. How do I have to change the code?
No products are associated with this question.
Play games and win prizes!Learn more