Matlab colorbar without ticks

Alec Jacobson

January 15, 2012

weblog/

Took a me a little bit to figure out how to make a color bar in matlab without tick marks.
hcb=colorbar;
set(hcb,'YTick',[])