how to code color bar in specific time?

11 次查看(过去 30 天)
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

采纳的回答

darova
darova 2019-10-16
You can manually correct colorbar values
h = colorbar;
s = datestr( linspace(7e5,7.5e5,10) , 'dd/mm/yyyy' );
set(h,'YtickLabel',s)
  2 个评论
Lilya
Lilya 2019-10-16
Thank you! it works, but when I also wanted to applay that usin the time I have in a 3d matrix.
darova
darova 2019-10-16
Don't understand. What do you have in 3D matrix?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Colormaps 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by