how to code color bar in specific time?

조회 수: 21 (최근 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 CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by