MATLAB: How to code color bar in specific time

colorbar

Hi all
I've plotted the attached figure, that I want to get the colorbar in dd/mm format
any help is much appreciated.
Thank you

Best Answer

You can manually correct colorbar values
h = colorbar;
s = datestr( linspace(7e5,7.5e5,10) , 'dd/mm/yyyy' );
set(h,'YtickLabel',s)