MATLAB Answers


how to code color bar in specific time?

Asked by Lola SE on 16 Oct 2019
Latest activity Commented on by darova
on 16 Oct 2019

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


Sign in to comment.


1 Answer

Answer by darova
on 16 Oct 2019
 Accepted Answer

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


Thank you! it works, but when I also wanted to applay that usin the time I have in a 3d matrix.
on 16 Oct 2019
Don't understand. What do you have in 3D matrix?

Sign in to comment.