how to code color bar in specific time?

3 ビュー (過去 30 日間)
Lilya
Lilya 2019 年 10 月 16 日
コメント済み: darova 2019 年 10 月 16 日
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 Center および File ExchangeColorbar についてさらに検索

タグ


Translated by