Filter löschen
Filter löschen

Setting the colorbar ticks

5 Ansichten (letzte 30 Tage)
Julia Moore
Julia Moore am 17 Jun. 2020
Bearbeitet: Ameer Hamza am 17 Jun. 2020
Hey guys!!
I am trying to set specific values to my colorbar but apparently they are not setting in the specific color limits, does anyone know how to fix this?
Thanks!

Antworten (1)

Ameer Hamza
Ameer Hamza am 17 Jun. 2020
Bearbeitet: Ameer Hamza am 17 Jun. 2020
I think it is better to use the correct number of colors so that the tick align with the colors
map = jet(10);
colormap(map)
colorbar

Kategorien

Mehr zu Colormaps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by