You can set the location of your ticks as follows:
set(h, 'XTick', [Min, (Min+Max)/2, Max])
Keep in mind that this probably will not look correct if the color limits of your graph are not set in the range [0.8, 12]. You can do this with:
set(gca, 'CLim', [Min, Max])
In addition, the best way to add βmmβ units to your color would be as follows:
h = colorbar('horiz'); set(gca, 'CLim', [Min, Max]) set(h, 'XTick', [Min, Max]) set(h,'XTickLabel',{num2str(Min) ,num2str(Max)}) %
source share