function prettifyAxes(hAxes) switch hAxes.Type case 'colorbar' set(hAxes, ... 'Box' , 'off' , ... 'TickDir' , 'out' , ... 'TickLength' , [.02 .02] , ... 'XColor' , [.3 .3 .3], ... 'YColor' , [.3 .3 .3], ... 'LineWidth' , 1 ); otherwise set(hAxes, ... 'Box' , 'off' , ... 'TickDir' , 'out' , ... 'TickLength' , [.02 .02] , ... 'XMinorTick' , 'off' , ... 'YMinorTick' , 'off' , ... 'YGrid' , 'off' , ... 'XColor' , [.3 .3 .3], ... 'YColor' , [.3 .3 .3], ... 'LineWidth' , 1 ); end end