Plot‎ > ‎

Histogram colors

histogram / bar plot

set histogram colors by using bar
  t=-3:0.2:3;
  N=histc(randn(1,1000),t);
  h=bar(t,N,'histc');
  set(h,'FaceColor',[0.7,0.8,1])



see also
http://www.mathworks.de/de/help/matlab/ref/colorspec.html
Comments