MATLAB: Change the xlabel in date

datetimeplot

I plot the data with errorbar.
errorbar(A,B,err,'*g')
How could i change the X_values in datetime in this Plot.
I know the function:
X_values=datetime(A,'ConvertFrom','datenum');
Thank you!

Best Answer

See datetick .