Filter löschen
Filter löschen

how to code color bar in specific time?

24 Ansichten (letzte 30 Tage)
Lilya
Lilya am 16 Okt. 2019
Kommentiert: darova am 16 Okt. 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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by